Skip to content
Unverified Commit 873dfd78 authored by Sargun Dhillon's avatar Sargun Dhillon Committed by Christian Brauner
Browse files

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: default avatarSargun Dhillon <sargun@sargun.me>
Acked-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20200107175927.4558-5-sargun@sargun.me
Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 9a2cef09
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment