libcap/tests/noop.c
Andrew G. Morgan ef485973d5 Implement cap_launch.
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>
2020-02-23 16:12:12 -08:00

6 lines
71 B
C

#include <stdlib.h>
int main(int argc, char *argv[]) {
exit(0);
}