#include "asm/unistd_64.h" // for __NR_setsid #include // for __syscall_0, syscall #include // for pid_t, setsid pid_t setsid(void) { return syscall(setsid); }