Searched refs:pidfd (Results 1 – 5 of 5) sorted by relevance
/external/selinux/restorecond/ |
D | restorecond.c | 91 int pidfd, len; in write_pid_file() local 100 pidfd = open(pidfile, O_CREAT | O_TRUNC | O_NOFOLLOW | O_WRONLY, 0644); in write_pid_file() 101 if (pidfd < 0) { in write_pid_file() 106 if (write(pidfd, val, (unsigned int)len) != len) { in write_pid_file() 108 close(pidfd); in write_pid_file() 111 close(pidfd); in write_pid_file()
|
/external/strace/tests/ |
D | qual_fault.c | 163 int pidfd = open_file(pid_prefix, proc); in main() local 168 assert(write(pidfd, pidstr, len) == len); in main() 170 close(pidfd); in main()
|
/external/strace/tests-mx32/ |
D | qual_fault.c | 163 int pidfd = open_file(pid_prefix, proc); in main() local 168 assert(write(pidfd, pidstr, len) == len); in main() 170 close(pidfd); in main()
|
/external/strace/tests-m32/ |
D | qual_fault.c | 163 int pidfd = open_file(pid_prefix, proc); in main() local 168 assert(write(pidfd, pidstr, len) == len); in main() 170 close(pidfd); in main()
|
/external/strace/ |
D | ChangeLog | 14694 initialization. Add per-process loop, open expfd, gotfd, out_fd, pidfd 14695 in each one, print process's pid to pidfd, print exit message to out_fd.
|