/freebsd-11.0-release/usr.sbin/jail/ |
H A D | command.c | 62 pid_t pid; member in struct:phash 70 static int add_proc(struct cfjail *j, pid_t pid); 72 static struct cfjail *find_proc(pid_t pid); 282 pid_t pid; local 666 pid = fork(); 667 if (pid < 0) 669 if (pid > 0) { 670 if (bg || !add_proc(j, pid)) { 755 add_proc(struct cfjail *j, pid_t pid) argument 763 EV_SET(&ke, pid, EVFILT_PRO 822 find_proc(pid_t pid) argument [all...] |
/freebsd-11.0-release/usr.sbin/rpc.ypupdated/ |
H A D | yp_dbupdate.c | 54 int pid; local 56 switch ((pid = fork())) {
|
/freebsd-11.0-release/contrib/openbsm/bin/auditdistd/ |
H A D | auditdistd.c | 136 child_exit_log(const char *type, unsigned int pid, int status) argument 140 pjdlog_debug(1, "%s process exited gracefully (pid=%u).", 141 type, pid); 143 pjdlog_error("%s process killed (pid=%u, signal=%d).", 144 type, pid, WTERMSIG(status)); 146 pjdlog_error("%s process exited ungracefully (pid=%u, exitcode=%d).", 147 type, pid, WIFEXITED(status) ? WEXITSTATUS(status) : -1); 157 pid_t pid; local 160 while ((pid = wait3(&status, WNOHANG, NULL)) > 0) { 163 if (pid 234 pid_t pid; local [all...] |
/freebsd-11.0-release/contrib/openbsm/bsm/ |
H A D | libbsm.h | 462 u_int32_t pid; member in struct:__anon5192 473 u_int32_t pid; member in struct:__anon5193 497 u_int32_t pid; member in struct:__anon5194 508 u_int32_t pid; member in struct:__anon5195 612 u_int32_t pid; member in struct:__anon5204 623 u_int32_t pid; member in struct:__anon5205 647 u_int32_t pid; member in struct:__anon5206 658 u_int32_t pid; member in struct:__anon5207 1117 * @param pid - The subject's process ID. 1129 uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, [all...] |
/freebsd-11.0-release/contrib/apr/threadproc/unix/ |
H A D | proc.c | 221 int pid; local 225 if ((pid = fork()) < 0) { 228 else if (pid == 0) { 229 proc->pid = getpid(); 236 proc->pid = pid; 391 if ((new->pid = fork()) < 0) { 394 else if (new->pid == 0) { 606 proc->pid = -1; 633 pstatus = waitpid(proc->pid, [all...] |
/freebsd-11.0-release/usr.sbin/usbconfig/ |
H A D | usbconfig.c | 56 uint16_t pid; member in struct:options 163 uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev, 172 q.pid = pid; 186 uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev, 195 q.pid = pid; 278 " add_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> <quirk>" "\n" 279 " remove_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> <quirk>" "\n" 343 opt->vid, opt->pid, op 162 be_dev_remove_quirk(struct libusb20_backend *pbe, uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev, const char *str) argument 185 be_dev_add_quirk(struct libusb20_backend *pbe, uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev, const char *str) argument [all...] |
/freebsd-11.0-release/contrib/gdb/gdb/ |
H A D | target.c | 1686 debug_to_post_attach (int pid) 1688 debug_target.to_post_attach (pid); 1690 fprintf_unfiltered (gdb_stdlog, "target_post_attach (%d)\n", pid); 2106 debug_to_acknowledge_created_inferior (int pid) 2108 debug_target.to_acknowledge_created_inferior (pid); 2111 pid); 2115 debug_to_insert_fork_catchpoint (int pid) 2119 retval = debug_target.to_insert_fork_catchpoint (pid); 2122 pid, retval); 2128 debug_to_remove_fork_catchpoint (int pid) 1681 debug_to_post_attach(int pid) argument 2101 debug_to_acknowledge_created_inferior(int pid) argument 2110 debug_to_insert_fork_catchpoint(int pid) argument 2123 debug_to_remove_fork_catchpoint(int pid) argument 2136 debug_to_insert_vfork_catchpoint(int pid) argument 2149 debug_to_remove_vfork_catchpoint(int pid) argument 2173 debug_to_insert_exec_catchpoint(int pid) argument 2186 debug_to_remove_exec_catchpoint(int pid) argument 2213 debug_to_has_exited(int pid, int wait_status, int *exit_status) argument 2331 debug_to_pid_to_exec_file(int pid) argument [all...] |
/freebsd-11.0-release/contrib/bmake/ |
H A D | job.c | 368 #define KILLPG(pid, sig) kill(-(pid), (sig)) 370 #define KILLPG(pid, sig) killpg((pid), (sig)) 401 fprintf(debug_file, "job %d, status %d, flags %d, pid %d\n", 402 (int)(job - job_table), job->job_state, job->flags, job->pid); 484 signo, job->pid); 486 KILLPG(job->pid, signo); 634 * Compare the pid of the job with the given pid an 650 JobFindPid(int pid, int status, Boolean isJobs) argument 1992 int pid; /* pid of dead child */ local 2015 JobReapChild(pid_t pid, WAIT_T status, Boolean isJobs) argument [all...] |
H A D | job.h | 146 int pid; /* The child's process ID */ 156 #define JOB_ST_RUNNING 3 /* Job is running, pid valid */ 145 int pid; /* The child's process ID */ member in struct:Job
|
/freebsd-11.0-release/gnu/usr.bin/gdb/libgdb/ |
H A D | fbsd-threads.c | 54 pid_t pid; member in struct:ps_prochandle 167 #define BUILD_LWP(lwp, pid) ptid_build (pid, lwp, 0) 168 #define BUILD_THREAD(tid, pid) ptid_build (pid, 0, tid) 287 get_current_lwp (int pid) argument 298 if (ptrace (PT_LWPINFO, pid, (caddr_t)&pl, sizeof(pl))) 312 lwp = get_current_lwp (proc_handle.pid); 313 tmp = BUILD_LWP (lwp, proc_handle.pid); 426 inferior_ptid = pid_to_ptid (proc_handle.pid); 557 fbsd_thread_post_attach(int pid) argument [all...] |
/freebsd-11.0-release/crypto/heimdal/appl/test/ |
H A D | gssapi_client.c | 230 pid_t pid; local 236 pid = fork (); 237 if (pid < 0) 239 if (pid != 0) {
|
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/ |
H A D | PlatformRemoteGDBServer.h | 89 GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &proc_info) override; 99 KillProcess (const lldb::pid_t pid) override; 243 LaunchGDBServer (lldb::pid_t &pid, std::string &connect_url); 246 KillSpawnedProcess (lldb::pid_t pid);
|
/freebsd-11.0-release/contrib/llvm/tools/lldb/tools/driver/ |
H A D | Platform.h | 90 extern int kill ( pid_t pid, int sig );
|
/freebsd-11.0-release/contrib/openresolv/ |
H A D | dnsmasq.in | 36 : ${dnsmasq_pid:=/var/run/dnsmasq.pid} 37 [ -s "$dnsmasq_pid" ] || dnsmasq_pid=/var/run/dnsmasq/dnsmasq.pid
|
/freebsd-11.0-release/etc/ |
H A D | rc.sendmail | 53 # The pid is used to stop and restart the running daemon(s). 54 sendmail_pidfile=${sendmail_pidfile:-/var/run/sendmail.pid} 55 sendmail_mspq_pidfile=${sendmail_mspq_pidfile:-/var/spool/clientmqueue/sm-client.pid}
|
/freebsd-11.0-release/gnu/usr.bin/gdb/gdbserver/ |
H A D | fbsd-low.h | 120 void fbsd_attach_lwp (int pid, int tid);
|
/freebsd-11.0-release/lib/libc/gen/ |
H A D | wordexp.c | 133 pid_t pid; /* Process ID of child */ local 158 if ((pid = fork()) < 0) { 168 else if (pid == 0) { 263 wpid = _waitpid(pid, &status, 0);
|
/freebsd-11.0-release/crypto/openssh/contrib/redhat/ |
H A D | sshd.init | 13 # pidfile: /var/run/sshd.pid 26 PID_FILE=/var/run/sshd.pid
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_dup.c | 305 pid_t pid; local 307 pid = fork(); 308 ATF_REQUIRE(pid >= 0); 310 if (pid == 0) {
|
H A D | t_mlock.c | 252 pid_t pid; local 258 pid = fork(); 259 ATF_REQUIRE(pid >= 0); 261 if (pid == 0) {
|
H A D | t_msgget.c | 116 pid_t pid; local 118 pid = fork(); 119 ATF_REQUIRE(pid >= 0); 121 if (pid == 0) {
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/librumphijack/ |
H A D | t_tcpip.sh | 44 /usr/libexec/httpd -P ./httpd.pid -b -s $(atf_get_srcdir) 62 if [ -f httpd.pid ]; then 63 kill -9 "$(cat httpd.pid)" 64 rm -f httpd.pid 95 while [ ! -f sshd.pid ]; do 98 echo "SSH server started (pid $(cat sshd.pid))"
|
/freebsd-11.0-release/contrib/netbsd-tests/rump/rumpkern/ |
H A D | t_lwproc.c | 59 pid_t pid; local 73 pid = rump_sys_getpid(); 74 ATF_REQUIRE(pid != -1 && pid != 0);
|
/freebsd-11.0-release/contrib/llvm/tools/lldb/tools/lldb-mi/ |
H A D | Platform.h | 67 extern int kill(pid_t pid, int sig);
|
/freebsd-11.0-release/contrib/netbsd-tests/kernel/ |
H A D | t_pty.c | 188 pid_t pid; local 193 if ((pid = fork()) == -1) 196 if (pid != 0) 197 return pid;
|