/titanic_51/usr/src/uts/common/os/ |
H A D | proc.c | 41 void (*fork)(void *, void *), in installpctx() 50 pctx->fork_op = fork; in installpctx() 67 void (*fork)(void *, void *), in removepctx() 77 pctx->fork_op == fork && in removepctx()
|
/titanic_51/usr/src/cmd/amt/ |
H A D | amt.c | 203 if ((pid = fork()) == -1) { in data_boundary_test() 302 if ((pid = fork()) == -1) { in text_area_not_writeable() 343 * Test that when we set some values and fork a process, when the child 356 "fork) is not shared after either process writes " in memory_not_shared_after_use() 359 if ((pid = fork()) == -1) { in memory_not_shared_after_use() 386 * If we fork a process and then allocate some memory in that process, 422 if ((pid = fork()) == -1) { in memory_allocation_not_shared() 511 if ((pid = fork()) == -1) { in test_stack_end_of_hole() 533 if ((pid = fork()) == -1) { in test_stack_end_of_hole() 557 if ((pid = fork()) in test_stack_end_of_hole() [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | daemon.c | 39 * Use fork/setsid/fork to go into background and permanently remove 48 * By the first fork+setsid, we disconnect from our current controlling in daemon() 51 retv = fork(); in daemon() 63 retv = fork(); in daemon()
|
/titanic_51/usr/src/man/man2/ |
H A D | Makefile | 51 fork.2 \ 303 fork1.2 := LINKSRC = fork.2 304 forkall.2 := LINKSRC = fork.2 305 forkallx.2 := LINKSRC = fork.2 306 forkx.2 := LINKSRC = fork.2
|
/titanic_51/usr/src/cmd/ypcmd/ypupdated/ |
H A D | openchild.c | 60 extern long fork(); 86 switch (pid = fork()) {
|
/titanic_51/usr/src/cmd/mailx/ |
H A D | popen.c | 63 extern int execlp(), fork(), pipe(), close(), fcntl(); 91 if((pid = fork()) == 0) { in npopen()
|
/titanic_51/usr/src/cmd/cmd-inet/lib/netcfgd/ |
H A D | netcfgd.c | 101 * A little bit of magic here. By the first fork+setsid, we in daemonize() 107 if ((pid = fork()) == -1) { in daemonize() 108 nlog(LOG_ERR, "fork 1 failed"); in daemonize() 120 if ((pid = fork()) == -1) { in daemonize() 121 nlog(LOG_ERR, "fork 2 failed"); in daemonize()
|
/titanic_51/usr/src/lib/libc/ |
H A D | README | 61 fork-safe) and in which the calling thread has all signals deferred 89 region; it is async-signal-safe and fork-safe): 123 calls to fork() and forkall(), but it also serializes calls to 124 thr_suspend() (fork() and forkall() also suspend other threads), 135 - When called from fork() or forkall() 137 This enforces the prohibition against calling fork() or pthread_atfork() 138 from a pthread_atfork()-registered fork handler function while a fork() 142 non-zero only if it is called from a fork handler. This is of interest 221 - The sig_*() interfaces are not in themselves fork [all...] |
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | deparse.c | 109 p_tree(t->fork.forktre,tflags); in p_tree() 110 p_redirect(t->fork.forkio); in p_tree() 121 else if(t->fork.forkio) in p_tree() 123 p_tree(t->fork.forktre,tflags); in p_tree() 124 if(t->fork.forkio) in p_tree() 125 p_redirect(t->fork.forkio); in p_tree()
|
H A D | tdump.c | 82 if(sfputu(outfile,t->fork.forkline)<0) in p_tree() 84 if(p_tree(t->fork.forktre)<0) in p_tree() 86 return(p_redirect(t->fork.forkio)); in p_tree()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | deparse.c | 109 p_tree(t->fork.forktre,tflags); in p_tree() 110 p_redirect(t->fork.forkio); in p_tree() 121 else if(t->fork.forkio) in p_tree() 123 p_tree(t->fork.forktre,tflags); in p_tree() 124 if(t->fork.forkio) in p_tree() 125 p_redirect(t->fork.forkio); in p_tree()
|
H A D | tdump.c | 82 if(sfputu(outfile,t->fork.forkline)<0) in p_tree() 84 if(p_tree(t->fork.forktre)<0) in p_tree() 86 return(p_redirect(t->fork.forkio)); in p_tree()
|
/titanic_51/usr/src/lib/efcode/efdaemon/ |
H A D | efdaemon.c | 105 if ((pid = fork()) < 0) { in main() 146 while ((pid = fork()) < 0) { in main()
|
/titanic_51/usr/src/lib/libfsmgt/common/ |
H A D | cmd.c | 94 if ((child_pid = fork()) == -1) { in cmd_execute_command() 192 if ((child_pid = fork()) == -1) { in cmd_execute_command_and_retrieve_string()
|
/titanic_51/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | main.c | 106 * A little bit of magic here. By the first fork+setsid, we in daemonize() 112 if ((pid = fork()) == (pid_t)-1) { in daemonize() 113 syslog(LOG_ERR, "fork 1 failed"); in daemonize() 124 if ((pid = fork()) == (pid_t)-1) { in daemonize() 125 syslog(LOG_ERR, "fork 2 failed"); in daemonize()
|
/titanic_51/usr/src/cmd/dtrace/test/tst/common/usdt/ |
H A D | tst.forker.c | 40 if (fork() == 0) in main()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | vfork.c | 48 return(fork());
|
H A D | setsid.c | 75 switch (fork())
|
/titanic_51/usr/src/lib/libast/common/comp/ |
H A D | vfork.c | 48 return(fork());
|
H A D | setsid.c | 75 switch (fork())
|
/titanic_51/usr/src/cmd/bnu/ |
H A D | in.uucpd.c | 114 if (fork() == 0) 124 if (fork()) 163 if (fork() == 0) { 191 if (fork() == 0) { 474 * can do a pam_close_session() because it doesn't fork().
|
/titanic_51/usr/src/cmd/vi/port/ |
H A D | ex_unix.c | 283 pid = fork(); 385 pid2 = fork(); in vi_filter() 450 pid = fork(); in recover() 454 error(gettext(" Can't fork to execute recovery")); in recover()
|
/titanic_51/usr/src/test/zfs-tests/cmd/rename_dir/ |
H A D | rename_dir.c | 56 switch (fork()) { in main() 58 perror("fork"); in main()
|
/titanic_51/usr/src/cmd/oamuser/user/ |
H A D | call_pass.c | 48 switch (cpid = fork()) {
|
/titanic_51/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 58 pctx_sysc_forkfn_t *fork; member 132 pctx_error(pctx, fn, gettext("cannot fork, " in pctx_create() 268 pctx->fork = (pctx_sysc_forkfn_t *) in pctx_set_events() 305 if (pctx->fork == NULL) in pctx_set_events() 306 pctx->fork = (pctx_sysc_forkfn_t *)default_void; in pctx_set_events() 318 if (pctx->fork != (pctx_sysc_forkfn_t *)default_void) { in pctx_set_events() 768 forkfn = pctx->fork; in pctx_run()
|