linux_dsm_epyc7002/tools/testing/selftests/pidfd
Christian Brauner 86f56395fe
tests: test for setns() EINVAL regression
Verify that setns() reports EINVAL when an fd is passed that refers to an
open file but the file is not a file descriptor useable to interact with
namespaces.

Cc: Jan Stancek <jstancek@redhat.com>
Cc: Cyril Hrubis <chrubis@suse.cz>
Link: https://lore.kernel.org/lkml/20200615085836.GR12456@shao2-debian
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2020-06-17 00:48:54 +02:00
..
.gitignore selftests/pidfd: add pidfd setns tests 2020-05-13 11:41:22 +02:00
config selftests/pidfd: add pidfd setns tests 2020-05-13 11:41:22 +02:00
Makefile selftests/pidfd: add pidfd setns tests 2020-05-13 11:41:22 +02:00
pidfd_fdinfo_test.c test: verify fdinfo for pidfd of reaped process 2019-10-17 15:36:54 +02:00
pidfd_getfd_test.c tests: test for setns() EINVAL regression 2020-06-17 00:48:54 +02:00
pidfd_open_test.c tests: move common definitions and functions into pidfd.h 2019-08-06 19:39:45 +02:00
pidfd_poll_test.c tests: add pidfd poll tests 2019-08-06 19:52:41 +02:00
pidfd_setns_test.c tests: test for setns() EINVAL regression 2020-06-17 00:48:54 +02:00
pidfd_test.c core-process-v5.4 2019-09-16 09:28:19 -07:00
pidfd_wait.c pidfd: add pidfd_wait tests 2019-08-06 19:39:30 +02:00
pidfd.h tests: test for setns() EINVAL regression 2020-06-17 00:48:54 +02:00