Home
last modified time | relevance | path

Searched refs:getpid (Results 1 – 25 of 768) sorted by relevance

12345678910>>...31

/netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dsigall.c374 kill (getpid (), SIGILL); in gen_ILL()
381 kill (getpid (), SIGABRT); in gen_ABRT()
402 kill (getpid (), SIGFPE); in gen_FPE()
410 kill (getpid (), SIGSEGV); in gen_SEGV()
417 kill (getpid (), SIGTERM); in gen_TERM()
427 kill (getpid (), SIGHUP); in gen_HUP()
438 kill (getpid (), SIGQUIT); in gen_QUIT()
449 kill (getpid (), SIGEMT); in gen_EMT()
460 kill (getpid (), SIGBUS); in gen_BUS()
471 kill (getpid (), SIGSYS); in gen_SYS()
[all …]
/netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dsigall.c374 kill (getpid (), SIGILL); in gen_ILL()
381 kill (getpid (), SIGABRT); in gen_ABRT()
402 kill (getpid (), SIGFPE); in gen_FPE()
410 kill (getpid (), SIGSEGV); in gen_SEGV()
417 kill (getpid (), SIGTERM); in gen_TERM()
427 kill (getpid (), SIGHUP); in gen_HUP()
438 kill (getpid (), SIGQUIT); in gen_QUIT()
449 kill (getpid (), SIGEMT); in gen_EMT()
460 kill (getpid (), SIGBUS); in gen_BUS()
471 kill (getpid (), SIGSYS); in gen_SYS()
[all …]
/netbsd-src/external/bsd/cron/dist/
H A Ddo_command.c43 (long)getpid(), e->cmd, u->name, in do_command()
57 log_it("CRON", getpid(), "error", "can't fork"); in do_command()
64 (long)getpid(), retval)); in do_command()
73 Debug(DPROC, ("[%ld] main process returning to work\n",(long)getpid())); in do_command()
106 (long)getpid())); in write_data()
149 (long)getpid())); in write_data()
168 (long)getpid(), ch, ch)); in read_data()
205 log_it(usernm, getpid(), "MAIL", "mailcmd too long"); in read_data()
212 log_itx(usernm, getpid(), "MAIL", in read_data()
254 log_it("CRON", getpid(), "error", in read_data()
[all …]
H A Ddatabase.c72 log_it("CRON", getpid(), "OPENDIR FAILED", dname); in process_dir()
102 log_it(dp->d_name, getpid(), "ORPHAN", in process_dir()
124 log_it(fname, getpid(), "ORPHAN", in process_dir()
143 Debug(DLOAD, ("[%ld] load_database()\n", (long)getpid())); in load_database()
157 log_it("CRON", getpid(), "STAT FAILED", p->path); in load_database()
173 (long)getpid())); in load_database()
268 log_it(fname, getpid(), "ORPHAN", "no passwd entry"); in process_crontab()
275 log_it(fname, getpid(), "CAN'T OPEN", tabname); in process_crontab()
280 log_it(fname, getpid(), "FSTAT FAILED", tabname); in process_crontab()
284 log_it(fname, getpid(), "NOT REGULAR", tabname); in process_crontab()
[all …]
H A Dcron.c97 log_it("CRON", getpid(), "DEATH", "can't malloc"); in main()
105 (void)fprintf(stderr, "[%ld] cron started\n", (long)getpid()); in main()
109 log_it("CRON",getpid(),"DEATH","can't fork"); in main()
173 (intmax_t)getpid(), (intmax_t)timeDiff)); in main()
196 (intmax_t)getpid(), (intmax_t)timeDiff)); in main()
222 (intmax_t)getpid(), (intmax_t)timeDiff)); in main()
231 (long)getpid())); in main()
383 (long)getpid(), minute, hour, dom, month, dow, in find_jobs()
449 (long)getpid(), (long)GMToff)); in set_time()
468 (long)getpid(), (long long)target*SECONDS_PER_MINUTE, in cron_sleep()
[all …]
H A Dpam_auth.c23 log_it ("CRON", getpid (), "pam_start failed", in cron_pam_start()
31 log_it ("CRON", getpid (), "pam_authenticate failed", in cron_pam_start()
41 log_it ("CRON", getpid (), "pam_acct_mgmt failed", in cron_pam_start()
51 log_it ("CRON", getpid (), "pam_open_session failed", in cron_pam_start()
73 log_it ("CRON", getpid (), "pam_setcred failed", in cron_pam_setcred()
/netbsd-src/external/bsd/atf/dist/tools/
H A Dsignals_test.cpp102 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
107 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
111 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
128 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
135 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
154 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
161 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
189 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
210 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
215 ::kill(::getpid(), SIGUSR1); in ATF_TEST_CASE_BODY()
[all …]
/netbsd-src/external/bsd/kyua-cli/dist/utils/signals/
H A Dprogrammer_test.cpp76 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY()
81 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY()
92 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY()
97 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY()
108 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY()
115 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY()
122 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY()
129 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY()
H A Dinterrupts_test.cpp101 ::kill(getpid(), signo); in check_interrupts_handler()
108 ::kill(getpid(), signo); in check_interrupts_handler()
125 ::kill(::getpid(), signo); in check_interrupts_inhibiter()
172 ::kill(::getpid(), SIGHUP); in ATF_TEST_CASE_BODY()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dtest-detach.c44 #ifdef getpid
45 #undef getpid
47 #define getpid _getpid macro
71 fprintf(stderr, "Parent started as %ld\n", (long)getpid()); in main()
74 fprintf(stderr, "Now should be the child: %ld\n", (long)getpid()); in main()
80 fprintf(stderr, "Now should be the child: %ld, wrote to parent\n", (long)getpid()); in main()
/netbsd-src/tests/lib/libc/sys/
H A Dt_ptrace_signal_wait.h45 DPRINTF("Before forking process PID=%d\n", getpid()); in traceme_raise()
48 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in traceme_raise()
64 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in traceme_raise()
153 DPRINTF("Before forking process PID=%d\n", getpid()); in TRACEME_RAISE()
156 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in TRACEME_RAISE()
174 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in TRACEME_RAISE()
268 DPRINTF("Before forking process PID=%d\n", getpid()); in TRACEME_RAISESIGNAL_IGNORED()
271 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in TRACEME_RAISESIGNAL_IGNORED()
288 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in TRACEME_RAISESIGNAL_IGNORED()
366 DPRINTF("Before forking process PID=%d\n", getpid()); in TRACEME_RAISESIGNAL_MASKED()
[all …]
H A Dt_ptrace_exec_wait.h50 DPRINTF("Before forking process PID=%d\n", getpid()); in traceme_vfork_exec()
53 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in traceme_vfork_exec()
75 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in traceme_vfork_exec()
85 name[3] = getpid(); in traceme_vfork_exec()
97 name[3] = getpid(); in traceme_vfork_exec()
197 DPRINTF("Before forking process PID=%d\n", getpid()); in TRACEME_VFORK_EXEC()
200 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in TRACEME_VFORK_EXEC()
221 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in TRACEME_VFORK_EXEC()
231 name[3] = getpid(); in TRACEME_VFORK_EXEC()
243 name[3] = getpid(); in TRACEME_VFORK_EXEC()
H A Dt_ptrace_syscall_wait.h36 DPRINTF("Caught a signal %d in process %d\n", arg, getpid()); in syscall_sighand()
66 DPRINTF("Before forking process PID=%d\n", getpid()); in syscall_body()
69 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in syscall_body()
86 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in syscall_body()
209 DPRINTF("Before forking process PID=%d\n", getpid()); in ATF_TC_BODY()
212 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in ATF_TC_BODY()
223 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in ATF_TC_BODY()
H A Dt_ptrace_topology_wait.h49 DPRINTF("Before forking process PID=%d\n", getpid()); in ATF_TC_BODY()
52 DPRINTF("Before forking process PID=%d\n", getpid()); in ATF_TC_BODY()
56 getpid(), child2); in ATF_TC_BODY()
64 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in ATF_TC_BODY()
72 DPRINTF("Parent process PID=%d, child1's PID=%d\n", getpid(), child1); in ATF_TC_BODY()
122 DPRINTF("Stop self PID %d\n", getpid()); in tracer_sees_terminaton_before_the_parent_raw()
147 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid()); in tracer_sees_terminaton_before_the_parent_raw()
331 DPRINTF("Stop self PID %d\n", getpid()); in parent_attach_to_its_child()
452 DPRINTF("Stop self PID %d\n", getpid()); in child_attach_to_its_parent()
585 name[namelen++] = getpid(); in tracee_sees_its_original_parent()
[all …]
H A Dt_getpid.c48 *(pid_t *)arg = getpid(); in threadfunc()
66 tpid = getpid(); in ATF_TC_BODY()
73 cpid = getpid(); in ATF_TC_BODY()
114 pid = getpid(); in ATF_TC_BODY()
H A Dt_ptrace_threads_wait.h73 DPRINTF("Before forking process PID=%d\n", getpid()); in trace_threads()
76 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in trace_threads()
109 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in trace_threads()
286 DPRINTF("Before forking process PID=%d\n", getpid()); in threads_and_exec()
289 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in threads_and_exec()
303 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in threads_and_exec()
467 DPRINTF("Before forking process PID=%d\n", getpid()); in ATF_TC_BODY()
470 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); in ATF_TC_BODY()
479 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); in ATF_TC_BODY()
556 DPRINTF("Before forking process PID=%d\n", getpid()); in ATF_TC_BODY()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/examples/hello-smalltalk/
H A Dhello.st.in33 …Transcript showCr: ((NLS ? 'This program is running as process number %1.') bindWith: self getpid).
37 "Unfortunately I cannot define getpid like this - it gives
38 'C function getpid not defined'.
40 SystemDictionary defineCFunc: 'getpid'
41 withSelectorArgs: 'getpid'
49 getpid
/netbsd-src/tests/net/net/
H A Dt_mapped.c173 sfdpid = cfdpid = getpid(); in test()
189 cfdpid = getpid(); in test()
198 if (cfdpid == getpid()) { in test()
206 if (sfdpid == getpid()) { in test()
215 if (cfdpid == getpid()) { in test()
221 if (sfdpid == getpid()) { in test()
238 if (sfdpid == getpid()) { in test()
242 if (cfdpid == getpid()) { in test()
H A Dt_unix.c234 srvrpid = clntpid = getpid(); in test()
279 clntpid = getpid(); in test()
299 if (clntpid == getpid()) { in test()
310 if (srvrpid == getpid()) { in test()
320 if (clntpid == getpid()) { in test()
328 if (srvrpid == getpid()) { in test()
374 if (srvrpid == getpid()) { in test()
380 if (clntpid == getpid()) { in test()
/netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A DgetXid.c48 extern GFC_INTEGER_4 PREFIX(getpid) (void);
49 export_proto_np(PREFIX(getpid));
52 PREFIX(getpid) (void) in PREFIX() argument
54 return getpid (); in PREFIX()
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A DgetXid.c48 extern GFC_INTEGER_4 PREFIX(getpid) (void);
49 export_proto_np(PREFIX(getpid));
52 PREFIX(getpid) (void) in PREFIX() argument
54 return getpid (); in PREFIX()
/netbsd-src/lib/libpthread/
H A Dpthread_misc.c73 if (_sched_getparam(getpid(), thread->pt_lid, policy, param) < 0) in __strong_alias()
92 if (_sched_setparam(getpid(), thread->pt_lid, policy, &sp) < 0) in pthread_setschedparam()
108 if (_sched_getaffinity(getpid(), thread->pt_lid, size, cpuset) < 0) in pthread_getaffinity_np()
124 if (_sched_setaffinity(getpid(), thread->pt_lid, size, cpuset) < 0) in pthread_setaffinity_np()
142 if (_sched_setparam(getpid(), thread->pt_lid, SCHED_NONE, &sp) < 0) in pthread_setschedprio()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dgetprogname.c106 pid_t pid = getpid (); in getprogname()
121 pid_t pid = getpid (); in getprogname()
200 pid_t pid = getpid (); in getprogname()
232 sprintf (filename, "/proc/pinfo/%d", (int) getpid ()); in getprogname()
234 sprintf (filename, "/proc/%d", (int) getpid ()); in getprogname()
261 sprintf (buf, "/proc/%d/cmdline", getpid()); in getprogname()
/netbsd-src/sbin/dump/
H A Drcache.c306 "not happen.\n", curr->cd_owner, getpid()); in bread()
399 getpid()); in bread()
400 cdesc[idx].cd_owner = getpid(); in bread()
428 if (cdesc[idx].cd_owner != getpid()) in bread()
431 getpid(), cdesc[idx].cd_owner); in bread()
445 if (cdesc[idx].cd_owner != getpid()) in bread()
448 getpid(), cdesc[idx].cd_owner); in bread()
470 getpid(), nreads, (u_int) readsize, nphysread, in printcachestats()
/netbsd-src/tests/lib/libpthread/
H A Dt_sigmask.c79 kill(getpid(), SIGFPE); in ATF_TC_BODY()
86 kill(getpid(), SIGUSR2); in upcalls_not_started_handler1()
123 kill(getpid(), SIGUSR1); in ATF_TC_BODY()
133 kill(getpid(), SIGUSR2); in respected_while_running_handler1()
155 kill(getpid(), SIGUSR1); in respected_while_running_threadroutine()

12345678910>>...31