A small utility program that sets up a new pid namespace and starts a process within that. Needs root via suid bit but later drops root priviliges to calling user.
Go to file
madmaurice 5fe9ba36a2 Add signal handler for SIGTERM
When the head process receives a SIGTERM we have to forward that to the init
process, which in turn has to forward it to the executed process which is
jailed. That process can then decide to exit, which also terminates the init and
head process through SIGCHILD/wait means.
2021-01-12 19:51:05 +01:00
.gitignore Initial version 2021-01-06 04:42:04 +01:00
main.c Add signal handler for SIGTERM 2021-01-12 19:51:05 +01:00
Makefile Add install target to Makefile 2021-01-07 21:13:59 +01:00