Home
last modified time | relevance | path

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

12345678910>>...19

/illumos-gate/usr/src/lib/libc/common/sys/
H A Dgetpid.S37 ANSI_PRAGMA_WEAK(getpid,function)
41 SYSCALL_NOERROR_RVAL1(getpid)
43 SET_SIZE(getpid)
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c107 "mkdir /tmp/nfsv4test.%d ; share /tmp/nfsv4test.%d", getpid(), in main()
108 getpid()); in main()
110 "unshare /tmp/nfsv4test.%d ; rmdir /tmp/nfsv4test.%d", getpid(), in main()
111 getpid()); in main()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dcrashtest1.c50 srand(getpid()); in do_some_sql()
63 printf("pid %d: cnt=%d\n", getpid(), cnt); in do_some_sql()
72 int parent = getpid(); in main()
H A Dthreadtest2.c45 fprintf(stderr,"pid=%d. %s\n", getpid(), argv[0]); in check_callback()
62 fprintf(stderr,"pid=%d, Integrity check returns %d\n", getpid(), rc); in integrity_check()
78 if( cnt%1000==0 ) printf("pid=%d: %d\n", getpid(), cnt); in worker()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/stop/
H A Dtst.stop2.d45 syscall::getpid:entry
52 syscall::getpid:return
H A Dtst.stop1.d45 syscall::getpid:entry
52 syscall::getpid:entry
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmutmp.c68 up->ut_pid = getpid(); in account()
93 pid_t ownpid = getpid(); in checkut_line()
182 ownpid = getpid(); in getty_account()
/illumos-gate/usr/src/cmd/refer/
H A Dinv1.c103 sprintf(tmpa, "junk%di", getpid()); in main()
114 sprintf(tmpb, "junk%dj", getpid()); in main()
140 sprintf(tmpc, "junk%dk", getpid()); in main()
H A Drefer1.c115 sprintf(ofile, "/tmp/rj%db", getpid()); in main()
123 sprintf(tfile, "/tmp/rj%da", getpid()); in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlckpwdf.c70 if (lck_pid != 0 && lck_pid != getpid()) { in lckpwdf()
80 lck_pid = getpid(); in lckpwdf()
/illumos-gate/usr/src/cmd/truss/
H A Dipc.c182 gps->tpid[j] = getpid(); in procadd()
201 tpid = getpid(); in procdel()
226 tpid = getpid(); in lwptrace()
336 pid == getpid() || /* process opened truss's /proc file */ in checkproc()
/illumos-gate/usr/src/cmd/saf/
H A Dlog.c112 timestamp, getpid(), msg); in log()
176 (void) sprintf(buf, "%s; %ld; %s\n", timestamp, getpid(), msg); in debug()
H A Dsacadm.c743 ap->ac_pid = getpid();
764 ap->ac_pid = getpid();
785 ap->ac_pid = getpid();
806 ap->ac_pid = getpid();
829 ap->ac_pid = getpid();
872 ap->ac_pid = getpid();
1116 pid = getpid();
/illumos-gate/usr/src/man/man2/
H A DMakefile66 getpid.2 \
340 getpgid.2 := LINKSRC = getpid.2
341 getpgrp.2 := LINKSRC = getpid.2
342 getppid.2 := LINKSRC = getpid.2
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_kadmind.c129 aug_save_pid(getpid()); /* process ID */ in common_audit()
130 aug_save_asid(getpid()); /* session ID */ in common_audit()
H A Daudit_krb5kdc.c88 aug_save_pid(getpid()); /* process ID */ in common_audit()
89 aug_save_asid(getpid()); /* session ID */ in common_audit()
H A Daudit_rexd.c131 info.ai_asid = getpid(); in audit_rexd_session_setup()
192 pid = getpid();
318 pid = getpid();
H A Daudit_rexecd.c99 info.ai_asid = getpid(); in audit_rexecd_session_setup()
179 pid = getpid();
290 pid = getpid();
/illumos-gate/usr/src/cmd/hal/hald/
H A Dlogger.c180 pid = getpid (); in logger_emit()
224 pid = getpid (); in logger_forward_debug()
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c190 EV_PID(scp) = getpid(); in sysevent_evc_bind()
219 if (EV_PID(scp) == getpid()) { in sysevent_evc_unbind()
279 if (EV_PID(scp) != getpid()) { in sysevent_evc_publish()
462 if (EV_PID(scp) != getpid()) { in sysevent_evc_subscribe_cmn()
702 if (EV_PID(scp) != getpid()) in sysevent_evc_unsubscribe()
788 if (EV_PID(scp) != getpid()) { in sysevent_evc_control()
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c109 root_pid = getpid(); /* know who is root process for error */ in main()
135 if (getpid() == root_pid) { in main()
146 if (getpid() == root_pid) { in main()
276 pcbn->pcb_procno = getpid(); in mfork()
1078 if (getpid() == root_pid) { in int_handler()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c119 rcp->pid == getpid() && in rpc_call()
133 rcp->pid = getpid(); in rpc_call()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dclock.c158 ev->ev_pid = getpid();
232 (void) kill(getpid(), SIGALRM);
348 mypid = getpid();
413 if (pid != getpid())
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c88 getpid(), signo); in quit_daemon()
182 i = sprintf(pid_str, "%d\n", getpid()); in init_daemon()
/illumos-gate/usr/src/cmd/sulogin/
H A Dsulogin.c288 originalpid = getpid(); in main()
301 masterpid = getpid(); in main()
610 u->ut_pid = getpid(); in single()
623 entryx.ut_pid = getpid(); in single()
801 pid = getpid(); in termhandler()

12345678910>>...19