Sargun Dhillon 873dfd7881
test: Add test for pidfd getfd
The following tests:
  * Fetch FD, and then compare via kcmp
  * Make sure getfd can be blocked by blocking ptrace_may_access
  * Making sure fetching bad FDs fails
  * Make sure trying to set flags to non-zero results in an EINVAL

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20200107175927.4558-5-sargun@sargun.me
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2020-01-13 21:49:54 +01:00
..
2020-01-13 21:49:54 +01:00
2020-01-13 21:49:54 +01:00
2019-08-06 19:52:41 +02:00
2019-09-16 09:28:19 -07:00
2019-08-06 19:39:30 +02:00
2020-01-13 21:49:54 +01:00