diff options
author | Andrei Vagin <avagin@gmail.com> | 2022-10-13 20:31:54 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-10-26 01:15:52 +0300 |
commit | af4fddffbe95855ef3b413158fa8e6e95899f2b2 (patch) | |
tree | bc01dfc41b8289f4365b9d9ef40880225c77ba9d /include/uapi/linux/elf.h | |
parent | 2b5f9dad32ed19e8db3b0f10a84aa824a219803b (diff) | |
download | linux-af4fddffbe95855ef3b413158fa8e6e95899f2b2.tar.xz |
selftests/timens: add a test for vfork+exit
* check that a child process is in parent's time namespace after vfork.
* check that a child process is in the target namespace after exec.
Output on success:
1..4
ok 1 parent before vfork
ok 2 child after exec
ok 3 wait for child
ok 4 parent after vfork
# Totals: pass:4 fail:0 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20221013173154.291597-1-avagin@google.com
Diffstat (limited to 'include/uapi/linux/elf.h')
0 files changed, 0 insertions, 0 deletions