Home
last modified time | relevance | path

Searched refs:pidfd (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/openbsm/bin/auditd/
H A Dauditd.c113 static int pidfd; variable
370 close(pidfd); in close_misc()
371 pidfd = -1; in close_misc()
482 pidfd = open(AUDITD_PIDFILE, O_CREAT | O_WRONLY | O_APPEND | O_CLOEXEC, in register_daemon()
484 if (pidfd < 0) { in register_daemon()
491 if (flock(pidfd, LOCK_EX | LOCK_NB) < 0) { in register_daemon()
499 ftruncate(pidfd, 0); in register_daemon()
500 if (dprintf(pidfd, "%u\n", getpid()) < 0) { in register_daemon()
/freebsd/contrib/pf/authpf/
H A Dauthpf.c66 int pidfd = -1; variable
236 if ((pidfd = open(pidfile, O_RDWR|O_CREAT, 0644)) == -1 || in main()
237 (pidfp = fdopen(pidfd, "r+")) == NULL) { in main()
238 if (pidfd != -1) in main()
239 close(pidfd); in main()
280 pidfd = -1; in main()
291 pidfd = -1; in main()
949 if (pidfile[0] && pidfd != -1) in do_death()
/freebsd/sys/compat/linux/
H A Dlinux_fork.h71 uint64_t pidfd; member
/freebsd/sys/arm64/linux/
H A Dlinux_systrace_args.c2268 iarg[a++] = p->pidfd; /* l_int */ in systrace_args()
H A Dlinux_proto.h1151 char pidfd_l_[PADL_(l_int)]; l_int pidfd; char pidfd_r_[PADR_(l_int)]; member
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c2646 iarg[a++] = p->pidfd; /* l_int */ in systrace_args()
H A Dlinux_proto.h1341 char pidfd_l_[PADL_(l_int)]; l_int pidfd; char pidfd_r_[PADR_(l_int)]; member
/freebsd/sys/amd64/linux32/
H A Dlinux32_systrace_args.c3162 iarg[a++] = p->pidfd; /* l_int */ in systrace_args()
H A Dlinux32_proto.h1642 char pidfd_l_[PADL_(l_int)]; l_int pidfd; char pidfd_r_[PADR_(l_int)]; member
/freebsd/sys/i386/linux/
H A Dlinux_systrace_args.c3193 iarg[a++] = p->pidfd; /* l_int */ in systrace_args()
H A Dlinux_proto.h1636 char pidfd_l_[PADL_(l_int)]; l_int pidfd; char pidfd_r_[PADR_(l_int)]; member