Home
last modified time | relevance | path

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

/external/selinux/restorecond/
Drestorecond.c91 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/
Dqual_fault.c163 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/
Dqual_fault.c163 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/
Dqual_fault.c163 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/
DChangeLog14694 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.