Searched refs:pid (Results 376 - 400 of 1046) sorted by relevance

<<11121314151617181920>>

/freebsd-11.0-release/contrib/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h89 #define __sanitizer_syscall_pre_getpgid(pid) \
90 __sanitizer_syscall_pre_impl_getpgid((long)(pid))
91 #define __sanitizer_syscall_post_getpgid(res, pid) \
92 __sanitizer_syscall_post_impl_getpgid(res, (long)(pid))
96 #define __sanitizer_syscall_pre_getsid(pid) \
97 __sanitizer_syscall_pre_impl_getsid((long)(pid))
98 #define __sanitizer_syscall_post_getsid(res, pid) \
99 __sanitizer_syscall_post_impl_getsid(res, (long)(pid))
141 #define __sanitizer_syscall_pre_setpgid(pid, pgid) \
142 __sanitizer_syscall_pre_impl_setpgid((long)(pid), (lon
[all...]
/freebsd-11.0-release/gnu/usr.bin/gdb/gdbserver/
H A Dfbsd-low.c113 add_process (int pid) argument
120 process->head.id = pid;
122 /* Default to tid == lwpid == pid. */
123 process->tid = pid;
124 process->lwpid = pid;
131 /* Start an inferior process and returns its pid.
138 int pid; local
140 pid = vfork ();
141 if (pid < 0)
144 if (pid
167 fbsd_attach_lwp(int pid, int tid) argument
201 fbsd_attach(int pid) argument
[all...]
/freebsd-11.0-release/contrib/unbound/compat/
H A Dgetentropy_linux.c359 pid_t pid; local
363 pid = getpid();
364 if (lastpid == pid) {
369 lastpid = pid;
385 HX((pid = getpid()) == -1, pid);
386 HX((pid = getsid(pid)) == -1, pid);
387 HX((pid
[all...]
H A Dgetentropy_osx.c230 pid_t pid; local
240 pid = getpid();
241 if (lastpid == pid) {
246 lastpid = pid;
282 HX((pid = getpid()) == -1, pid);
283 HX((pid = getsid(pid)) == -1, pid);
284 HX((pid
[all...]
/freebsd-11.0-release/contrib/llvm/tools/lldb/tools/lldb-mi/
H A DMICmdCmdTarget.cpp181 lldb::pid_t pid = rSessionInfo.GetProcess().GetProcessID(); local
187 const CMIUtilString strPid(CMIUtilString::Format("%lld", pid));
189 const CMICmnMIValueResult miValueResult("pid", miValueConst);
219 : m_constStrArgPid("pid")
296 lldb::pid_t pid; local
297 pid = pArgPid->GetValue();
298 target.AttachToProcessWithID(listener, pid, error);
339 lldb::pid_t pid = rSessionInfo.GetProcess().GetProcessID(); local
345 const CMIUtilString strPid(CMIUtilString::Format("%lld", pid));
347 const CMICmnMIValueResult miValueResult("pid", miValueCons
[all...]
/freebsd-11.0-release/tools/tools/netrate/http/
H A Dhttp.c248 pid_t pid; local
315 pid = fork();
316 if (pid < 0) {
322 if (pid == 0) {
327 statep->hwd[i].hwd_pid = pid;
345 pid = waitpid(statep->hwd[i].hwd_pid, NULL, 0);
346 if (pid == statep->hwd[i].hwd_pid)
/freebsd-11.0-release/tools/tools/netrate/httpd/
H A Dhttpd.c205 pid_t pid; local
286 pid = fork();
287 if (pid < 0) {
293 if (pid == 0)
295 statep->hts[i].hts_pid = pid;
305 pid = waitpid(statep->hts[i].hts_pid, NULL, 0);
306 if (pid == statep->hts[i].hts_pid)
/freebsd-11.0-release/usr.bin/rsh/
H A Drsh.c98 pid_t pid = 0; local
220 pid = fork();
221 if (pid < 0)
230 talk(nflag, omask, pid, rem, timeout);
233 (void)kill(pid, SIGKILL);
238 talk(int nflag, long omask, pid_t pid, int rem, int timeout) argument
247 if (!nflag && pid == 0) {
/freebsd-11.0-release/usr.bin/timeout/
H A Dtimeout.c170 pid_t pid, cpid; local
255 pid = fork();
256 if (pid == -1)
258 else if (pid == 0) {
291 } else if (cpid == pid) {
316 kill(pid, killsig);
333 kill(pid, sig_term);
/freebsd-11.0-release/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_main.c131 int pid; local
135 pid = getpid();
155 if (forked && pid != getpid())
231 int pid, i; local
233 pid = fork();
234 if (pid < 0)
236 if (pid)
/freebsd-11.0-release/contrib/gdb/gdb/gdbserver/
H A Dserver.c53 fprintf (stderr, "Process %s created; pid = %d\n", argv[0],
65 attach_inferior (int pid, char *statusptr, unsigned char *sigptr) argument
70 if (myattach (pid) != 0)
73 fprintf (stderr, "Attached; pid = %d\n", pid);
78 signal_pid = pid;
321 int pid; local
331 pid = 0;
337 && (pid = strtoul (argv[3], &arg_end, 10)) != 0
353 if (pid
[all...]
/freebsd-11.0-release/lib/libpam/modules/pam_ssh/
H A Dpam_ssh.c279 pid_t pid; local
288 pid = fork();
289 if (pid == (pid_t)-1) {
295 if (pid == 0) {
426 pid_t pid; local
432 pid = (pid_t)strtol(ssh_agent_pid, &end, 10);
434 openpam_log(PAM_LOG_DEBUG, "invalid ssh agent pid");
437 openpam_log(PAM_LOG_DEBUG, "killing ssh agent %d", (int)pid);
438 if (kill(pid, SIGTERM) == -1 ||
439 (waitpid(pid,
[all...]
/freebsd-11.0-release/usr.sbin/uefisign/
H A Duefisign.c323 wait_for_child(pid_t pid) argument
327 pid = waitpid(pid, &status, 0);
328 if (pid == -1)
343 pid_t pid; local
399 pid = fork();
400 if (pid < 0)
403 if (pid == 0)
424 return (wait_for_child(pid));
/freebsd-11.0-release/crypto/heimdal/kcm/
H A Dkcm_locl.h48 kcm_op2string(_opcode), (_client)->pid, (_client)->uid); \
53 kcm_op2string(_opcode), (_name), (_client)->pid, (_client)->uid); \
146 pid_t pid; member in struct:kcm_client
/freebsd-11.0-release/contrib/llvm/tools/lldb/include/lldb/Target/
H A DTargetList.h179 /// pid.
181 /// @param[in] pid
190 FindTargetWithProcessID (lldb::pid_t pid) const;
202 /// pid and send a LLDB_EVENT_ASYNC_INTERRUPT event to the process's
205 /// @param[in] pid
206 /// The process ID to search our target list for, if \a pid is
214 SendAsyncInterrupt (lldb::pid_t pid = LLDB_INVALID_PROCESS_ID);
217 SignalIfRunning (lldb::pid_t pid, int signo);
/freebsd-11.0-release/contrib/tcp_wrappers/
H A Dsafe_finger.c151 int pid; local
175 switch (pid = fork()) {
194 return (pid);
/freebsd-11.0-release/contrib/openbsm/sys/bsm/
H A Daudit_record.h236 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
238 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
240 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
242 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid);
244 uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid,
247 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid);
259 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
261 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
263 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
265 gid_t rgid, pid_t pid, au_asid_
[all...]
/freebsd-11.0-release/contrib/openpam/bin/su/
H A Dsu.c79 pid_t pid; local
152 switch ((pid = fork())) {
177 waitpid(pid, &status, 0);
/freebsd-11.0-release/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c128 pid_t pid; local
141 switch ((pid = fork())) {
152 children[i] = pid;
/freebsd-11.0-release/contrib/apr-util/crypto/
H A Dgetuuid.c69 * replace with pid/tid for portability (in the spirit of mod_unique_id) */
72 pid_t pid;
84 r.pid = NXThreadGetId();
87 r.pid = getpid();
/freebsd-11.0-release/bin/kill/
H A Dkill.c69 int errors, numsig, pid, ret; local
140 pid = strtol(*argv, &ep, 10);
143 ret = kill(pid, numsig);
200 "usage: kill [-s signal_name] pid ...",
202 " kill -signal_name pid ...",
203 " kill -signal_number pid ...");
/freebsd-11.0-release/sys/bsm/
H A Daudit_record.h248 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
250 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
252 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
254 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid);
256 uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid,
259 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid);
272 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
274 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
276 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid);
278 gid_t rgid, pid_t pid, au_asid_
[all...]
/freebsd-11.0-release/sys/dev/acpi_support/
H A Dacpi_sony.c63 int pid; member in struct:acpi_sony_softc
133 acpi_GetInteger(acpi_get_handle(dev), ACPI_SONY_GET_PID, &sc->pid);
134 device_printf(dev, "PID %x\n", sc->pid);
/freebsd-11.0-release/usr.bin/leave/
H A Dleave.c141 int pid; local
143 if ((pid = fork())) {
147 printf("Alarm set for %s. (pid %d)\n", tb, pid);
/freebsd-11.0-release/usr.sbin/ctm/ctm_dequeue/
H A Dctm_dequeue.c177 pid_t child, pid; local
193 while ((pid = wait(&status)) != child)
195 if (pid == -1 && errno != EINTR)

Completed in 300 milliseconds

<<11121314151617181920>>