⬢ DragonFlyBSD Kernel Audit
DF-2868 / flip.c
← back to finding ↓ download raw
1
2
3
4
/* DF-2868 cred-churn helper: setuid-root; drops back and re-execs target */
#include <unistd.h>
#include <stdlib.h>
int main(void) { setuid(getuid()); execl("/tmp/fliptarget", "fliptarget", NULL); _exit(1); }