diff options
| author | Christian Brauner <[email protected]> | 2019-03-23 11:24:21 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2019-06-28 10:17:55 +0000 |
| commit | 172bb24a4f480c180bee646f6616f714ac4bcab2 (patch) | |
| tree | 4b8fa039326a0699ae1b6599e5e416c1399ab72b /drivers/pci/controller/pci-host-common.c | |
| parent | arch: wire-up pidfd_open() (diff) | |
| download | kernel-172bb24a4f480c180bee646f6616f714ac4bcab2.tar.gz kernel-172bb24a4f480c180bee646f6616f714ac4bcab2.zip | |
tests: add pidfd_open() tests
This adds testing for the new pidfd_open() syscalls. Specifically, we test:
- that no invalid flags can be passed to pidfd_open()
- that no invalid pid can be passed to pidfd_open()
- that a pidfd can be retrieved with pidfd_open()
- that the retrieved pidfd references the correct pid
Signed-off-by: Christian Brauner <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Joel Fernandes (Google) <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: David Howells <[email protected]>
Cc: "Michael Kerrisk (man-pages)" <[email protected]>
Cc: Andy Lutomirsky <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Aleksa Sarai <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Al Viro <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
