diff options
author | Andrei Vagin <avagin@gmail.com> | 2022-06-12 23:07:23 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-06-15 07:58:22 -0700 |
commit | 6342140db6609a0c7d34f68c52b2947468e0e630 (patch) | |
tree | bb9b696afe09e8c80e7f9c774a0a3230bd4f0d0e /fs | |
parent | 133e2d3e81de5d9706cab2dd1d52d231c27382e5 (diff) |
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:
$ ./vfork_exec
1..1
ok 1 exec
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220613060723.197407-2-avagin@gmail.com
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions