/dragonfly/usr.sbin/cron/cron/ |
H A D | do_command.c | 45 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 D | database.c | 48 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 D | cron.c | 92 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 D | error.c | 116 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 D | openat.c | 52 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 D | getprogname.c | 96 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 D | getprogname.c | 100 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 D | mkfifo.c | 112 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 D | lock.c | 69 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 D | utils.c | 46 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 D | shm.c | 63 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 D | yp_main.c | 122 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 D | timeout.c | 245 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 D | utilsd.c | 49 getpid(), fmt); in sysvd_print() 63 getpid(), errno, fmt); in sysvd_print_err()
|
/dragonfly/test/stress/stress2/testcases/rw/ |
H A D | rw.c | 93 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 D | rename2.sh | 71 sprintf(dir1, "/tmp/rename.dir.%d", getpid()); function 72 sprintf(dir2, "/tmp/rename.dir.2.%d", getpid()); function
|
H A D | revoke.sh | 82 printf("Parent starting: pid %d\n", getpid()); function 94 printf("Child: pid %d\n", getpid()); function
|
H A D | rename.sh | 78 sprintf(dir1, "/tmp/rename.dir.%d", getpid()); function 79 sprintf(dir2, "/tmp/rename.dir.2.%d", getpid()); function
|
H A D | sem.sh | 85 (void) getpid(); function 93 seed = getpid(); function
|
/dragonfly/test/stress/stress2/testcases/mmap/ |
H A D | mmap.c | 50 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup() 80 pid = getpid(); in test()
|
/dragonfly/test/stress/stress2/testcases/symlink/ |
H A D | symlink.c | 86 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup() 112 pid = getpid(); in test()
|
/dragonfly/test/stress/stress2/testcases/creat/ |
H A D | creat.c | 92 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup() 118 pid = getpid(); in test()
|
/dragonfly/test/stress/stress2/testcases/syscall/ |
H A D | syscall.c | 71 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 D | authpf.c | 166 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 D | link.c | 89 sprintf(path,"%s.%05d", getprogname(), getpid()); in setup() 115 pid = getpid(); in test()
|