Searched refs:pid (Results 401 - 425 of 920) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/head/
H A Dspawn.h73 pid_t *_RESTRICT_KYWD pid,
81 pid_t *_RESTRICT_KYWD pid,
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_cache.c108 uid_t pid; member in struct:pid2sid_winname
216 if (entry2->pid > entry1->pid)
218 if (entry2->pid < entry1->pid)
541 idmap_rid_t rid, uid_t *pid, int *is_user)
560 *pid = result->uid;
563 *pid = result->gid;
586 entry.pid = uid;
618 entry.pid
540 idmap_cache_lookup_pidbysid(const char *sid_prefix, idmap_rid_t rid, uid_t *pid, int *is_user) argument
1015 idmap_cache_add_sid2pid(const char *sid_prefix, idmap_rid_t rid, uid_t pid, int is_user, int direction) argument
[all...]
/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c52 #define SETCONSOLEPID "/etc/consadm.pid"
570 pid_t pid; local
579 * remove /etc/consadm.pid
584 if ((pid = fork()) == (pid_t)0) {
598 } else if (pid == -1)
603 /* write daemon pid to file */
604 (void) fprintf(fp, "%d\n", (int)pid);
618 int pid; local
624 if (fscanf(fp, "%d\n", &pid) <= 0) {
634 if (pid
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslogd.c107 pid_t pid; local
299 pid = fork();
300 if (pid == -1) {
305 if (pid != 0)
803 * If operation = PID_STARTUP then checks the nfslogd.pid file, it is opened
804 * if it exists, read and the pid is checked for an active process. If no
805 * active process is found, the pid of this process is written to the file,
808 * If operation = PID_SHUTDOWN then removes the nfslogd.pid file and 0 is
816 pid_t pid, mypid; local
837 "cannot open or create pid fil
[all...]
/illumos-gate/usr/src/cmd/tip/
H A Dcmds.c126 (void) kill(pid, SIGIOT);
287 (void) kill(pid, SIGIOT); /* put TIPOUT into a wait state */
474 (void) kill(pid, SIGIOT); /* put TIPOUT into a wait state */
527 (void) kill(pid, SIGIOT); /* put TIPOUT into a wait state */
616 (void) kill(pid, SIGEMT);
655 (void) kill(pid, SIGTERM);
752 (void) kill(pid, SIGSYS);
882 int pid, l; local
893 if ((pid = vfork()) == 0) {
906 if (pid
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dpowerd.c194 pid_t pid; local
256 if ((pid = fork()) < 0)
258 else if (pid != 0)
261 pid = getpid();
263 if (write_pidfile(pid_fd, pid) == -1) /* logs errors on failure */
1005 pid_t pid, child; local
1074 pid = 0;
1075 while (pid != child)
1076 pid = wait(&status);
1280 * Create a file which will contain our pid
1301 pid_t pid; local
1353 write_pidfile(int fd, pid_t pid) argument
[all...]
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_GetMultipathLusDevProd.c46 char *pid = NULL; local
72 "inquiry-product-id", &pid);
74 pidSize = strlen(pid);
81 if ((0 == strncmp(pProductID, pid, pidSize)) &&
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_proc_int.h71 int pid; member in struct:prb_proc_ctl
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.h56 extern pctx_t *pctx_capture(pid_t pid,
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_rshd.c106 pid_t pid; local
126 pid = getpid();
134 (void) au_write(rd, au_to_subject_ex(uid, uid, gid, uid, gid, pid, pid,
/illumos-gate/usr/src/cmd/pools/poolbind/
H A Dpoolbind.c65 { P_PID, "pid" },
85 "[-i pid | -i taskid | -i projid | -i zoneid] id ...\n"
86 " poolbind -q pid ...\n"
87 " poolbind -Q pid ... \n"));
92 print_resource_binding(const char *type, pid_t pid) argument
96 if ((resource_name = pool_get_resource_binding(type, pid)) == NULL)
98 (int)pid, get_errstr());
100 (void) printf("%d\t%s\t%s\n", (int)pid, type, resource_name);
111 char *idstr = "pid";
271 "pid
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dget_addrs.c61 msg.pid = getpid();
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c74 pid_t pid, val; local
81 if (pid = fork()) {
84 if (pid == (pid_t)-1) {
100 } while (val != pid);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c137 pid_t pid, wpid; local
139 pid = vfork();
140 switch (pid) {
148 wpid = waitpid(pid, &status, 0);
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd4.c68 register pid_t pid; local
111 if ((pid = vfork()) == 0) {
122 if (pid == (pid_t)-1) { /* error */
165 while (wait(&s) != pid);
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_stubs.c122 kill(pid_t pid, int sig) argument
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/usdt/
H A Dtst.noreapring.ksh104 echo launched ring buffered enabling as pid $background
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/
H A DMakefile33 pid/tst.br.o := ASFLAGS += -xarch=v8plus
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Ddepend.c133 int fildes[2], pid; local
161 if ((pid = fork()) == -1) {
168 if (pid) {
227 while (wait(&status) != pid)
/illumos-gate/usr/src/cmd/bnu/
H A Duusched.c256 pid_t pid, ret; local
264 if ((pid = vfork()) == 0) {
272 while ((ret = wait(&status)) != pid)
276 DEBUG(3, "ret=%ld, ", (ret == pid ? (long) status : (long) ret));
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_builtin.c188 if (wksid->pid != IDMAP_SENTINEL_PID &&
190 de = uint_list_dav(val, &wksid->pid, 1);
193 if (wksid->pid != IDMAP_SENTINEL_PID &&
195 de = uint_list_dav(val, &wksid->pid, 1);
H A Dwksids.c343 * Find a wksid entry for the specified pid, of the specified type.
348 find_wksid_by_pid(uid_t pid, int is_user) argument
352 if (pid == IDMAP_SENTINEL_PID)
356 if (wksids[i].pid == pid &&
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dtruss.c41 static pid_t pid; variable
102 pid = getpid();
129 (int)pid);
296 (void) fprintf(outfile, "%5d:", (int)pid);
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddebug.c47 static int dbg_add_pid; /* True to add pid to debug file name */
48 static pid_t pid; variable
86 pid = getpid();
118 MSG_ORIG(MSG_DBG_FILE), dbg_file, pid);
255 pid);
/illumos-gate/usr/src/cmd/sh/
H A Djobs.c195 pid_t pid; local
213 pid = waitpid(jp->j_pid, &stat, 0);
214 if (pid == jp->j_pid || (pid == -1 && errno == ECHILD))
311 pid_t pid; local
322 if ((pid = waitpid(-1, &stat, wnohang|wflags)) <= 0)
324 if (jp = pgid2job(pid))
365 pid_t pid = jp->j_pid; local
376 ret = waitpid(pid, &stat, wflags|WNOWAIT);
382 } while (ret != pid);
[all...]

Completed in 105 milliseconds

<<11121314151617181920>>