Home
last modified time | relevance | path

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

12345678910>>...13

/dragonfly/usr.sbin/cron/cron/
H A Ddo_command.c45 getpid(), e->cmd, u->name, e->uid, e->gid)) in do_command()
56 log_it("CRON",getpid(),"error","can't fork"); in do_command()
206 getpid())) in child_process()
210 srandom(getpid()); in child_process()
222 log_it(usernm, getpid(), "CMD", x); in child_process()
434 getpid(), ch, ch)) in child_process()
506 getpid())) in child_process()
527 log_it(usernm, getpid(), "MAIL", buf); in child_process()
545 getpid(), children)) in child_process()
549 getpid())) in child_process()
[all …]
H A Ddatabase.c48 Debug(DLOAD, ("[%d] load_database()\n", getpid())) in load_database()
55 log_it("CRON", getpid(), "STAT FAILED", SPOOL_DIR); in load_database()
73 getpid())) in load_database()
96 log_it("CRON", getpid(), "OPENDIR FAILED", SPOOL_DIR); in load_database()
194 log_it(fname, getpid(), "ORPHAN", "no passwd entry"); in process_crontab()
201 log_it(fname, getpid(), "CAN'T OPEN", tabname); in process_crontab()
206 log_it(fname, getpid(), "FSTAT FAILED", tabname); in process_crontab()
233 log_it(fname, getpid(), "RELOAD", tabname); in process_crontab()
H A Dcron.c92 log_it("CRON", getpid(), "DEATH",
105 fprintf(stderr, "[%d] cron started\n", getpid());
108 log_it("CRON",getpid(),"DEATH","can't become daemon");
179 getpid(), minute, hour, dom, month, dow))
335 getpid(), (long)TargetTime, seconds_to_wait))
346 getpid(), seconds_to_wait))
389 ("[%d] sigchld...no children\n", getpid()))
393 ("[%d] sigchld...no dead kids\n", getpid()))
398 getpid(), pid, WEXITSTATUS(waiter)))
/dragonfly/bin/sh/
H A Derror.c116 if (tcgetpgrp(0) == getpid()) in onint()
123 kill(getpid(), SIGINT); in onint()
172 status, msg, getpid())); in verrorwithstatus()
175 status, getpid())); in verrorwithstatus()
/dragonfly/test/stress/stress2/testcases/openat/
H A Dopenat.c52 sprintf(path1,"%s.%05d", getprogname(), getpid()); in setup()
96 pid = getpid(); in test_openat()
118 pid = getpid(); in test_renameat()
143 pid = getpid(); in test_unlinkat()
/dragonfly/contrib/diffutils/lib/
H A Dgetprogname.c96 pid_t pid = getpid (); in getprogname()
111 pid_t pid = getpid (); in getprogname()
190 pid_t pid = getpid (); in getprogname()
221 sprintf (filename, "/proc/pinfo/%d", (int) getpid ()); in getprogname()
/dragonfly/contrib/grep/lib/
H A Dgetprogname.c100 pid_t pid = getpid (); in getprogname()
115 pid_t pid = getpid (); in getprogname()
194 pid_t pid = getpid (); in getprogname()
225 sprintf (filename, "/proc/pinfo/%d", (int) getpid ()); in getprogname()
/dragonfly/test/stress/stress2/testcases/mkfifo/
H A Dmkfifo.c112 if (sprintf(path, "fifo.%d.%d", getpid(), i) < 0) in test()
118 if (sprintf(path, "fifo.%d.%d", getpid(), i) < 0) in test()
125 if (sprintf(path, "fifo.%d", getpid()) < 0) in test()
/dragonfly/lib/libc/sysvipc/
H A Dlock.c69 if (mutex->pid_owner == getpid() && in sysv_mutex_lock()
75 mutex->pid_owner = getpid(); in sysv_mutex_lock()
83 if (mutex->pid_owner != getpid() || in sysv_mutex_unlock()
H A Dutils.c46 sprintf(format, "[%d %d] %s", getpid(), lwp_gettid(), fmt); in sysv_print()
66 getpid(), lwp_gettid(), errno, fmt); in sysv_print_err()
/dragonfly/test/stress/stress2/testcases/shm/
H A Dshm.c63 seed = getpid(); in setup()
152 getpid(), i % 128, shm_buf[i]); in test()
175 getpid(), i % 128, shm_buf[i]); in test()
/dragonfly/usr.sbin/ypserv/
H A Dyp_main.c122 yp_pid = getpid(); in yp_svc_run()
144 if (getpid() == yp_pid) in yp_svc_run()
148 if (getpid() == yp_pid) { in yp_svc_run()
156 if (yp_pid != getpid()) in yp_svc_run()
/dragonfly/usr.bin/timeout/
H A Dtimeout.c245 if (procctl(P_PID, getpid(), PROC_REAP_ACQUIRE, NULL) == -1) in main()
316 procctl(P_PID, getpid(), in main()
333 procctl(P_PID, getpid(), PROC_REAP_STATUS, in main()
356 procctl(P_PID, getpid(), PROC_REAP_RELEASE, NULL); in main()
/dragonfly/usr.sbin/sysvipcd/
H A Dutilsd.c49 getpid(), fmt); in sysvd_print()
63 getpid(), errno, fmt); in sysvd_print_err()
/dragonfly/test/stress/stress2/testcases/rw/
H A Drw.c93 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup()
134 sprintf(file,"p%05d", getpid()); in test()
168 getprogname(), getpid(), index+i, index+i, in test()
/dragonfly/test/stress/stress2/misc/
H A Drename2.sh71 sprintf(dir1, "/tmp/rename.dir.%d", getpid()); function
72 sprintf(dir2, "/tmp/rename.dir.2.%d", getpid()); function
H A Drevoke.sh82 printf("Parent starting: pid %d\n", getpid()); function
94 printf("Child: pid %d\n", getpid()); function
H A Drename.sh78 sprintf(dir1, "/tmp/rename.dir.%d", getpid()); function
79 sprintf(dir2, "/tmp/rename.dir.2.%d", getpid()); function
H A Dsem.sh85 (void) getpid(); function
93 seed = getpid(); function
/dragonfly/test/stress/stress2/testcases/mmap/
H A Dmmap.c50 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup()
80 pid = getpid(); in test()
/dragonfly/test/stress/stress2/testcases/symlink/
H A Dsymlink.c86 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup()
112 pid = getpid(); in test()
/dragonfly/test/stress/stress2/testcases/creat/
H A Dcreat.c92 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup()
118 pid = getpid(); in test()
/dragonfly/test/stress/stress2/testcases/syscall/
H A Dsyscall.c71 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup()
97 printf("Testing syscall #%d, pid %d\n", num, getpid()); in setup()
/dragonfly/usr.sbin/authpf/
H A Dauthpf.c166 luser, (long)getpid())) < 0 || (u_int)n >= sizeof(rulesetname)) { in main()
168 luser, (long)getpid(), (long)getpid()); in main()
170 (long)getpid())) < 0 || (u_int)n >= sizeof(rulesetname)) { in main()
290 fprintf(pidfp, "%ld\n%s\n", (long)getpid(), luser); in main()
329 (long)getpid()); in main()
/dragonfly/test/stress/stress2/testcases/link/
H A Dlink.c89 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup()
115 pid = getpid(); in test()

12345678910>>...13