mirror of
https://git.kernel.org/pub/scm/libs/libcap/libcap.git
synced 2026-01-27 01:44:26 +00:00
In threaded programs, it's a bit tricky to fork/execve a child with capabilities different from the parent. Implement cap_launch and friends to accomplish this. https://bugzilla.kernel.org/show_bug.cgi?id=206195 Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
6 lines
71 B
C
6 lines
71 B
C
#include <stdlib.h>
|
|
|
|
int main(int argc, char *argv[]) {
|
|
exit(0);
|
|
}
|