SYS_forksys
(void) mdb_tgt_add_sysexit(t, SYS_forksys, hflag, pt_fork, NULL);
(psp->pr_what == SYS_forksys && psp->pr_sysarg[0] == 2));
(csp->pr_what != SYS_vfork && csp->pr_what != SYS_forksys)) {
if (what == SYS_forksys && subcode >= 3)
if ((what == SYS_vfork || what == SYS_forksys) &&
if (what == SYS_vfork || what == SYS_forksys) {
case SYS_forksys: /* set both if either */
sysx = SYS_forksys;
(Lsp->pr_what == SYS_forksys &&
(void) Psysexit(Proc, SYS_forksys, FALSE);
praddset(&traceeven, SYS_forksys);
case SYS_forksys: /* fork family */
case SYS_forksys: /* forksys */
case SYS_forksys:
{ "fork", SYS_forksys },
{ "fork1", SYS_forksys },
{ "forkall", SYS_forksys },
{ "forkx", SYS_forksys },
{ "forkallx", SYS_forksys },
{ "vforkx", SYS_forksys },
return (__systemcall(rval, SYS_forksys + 1024, 0, 0));
return (__systemcall(rval, SYS_forksys + 1024, 1, 0));
(void) Psysentry(P, SYS_forksys, B_TRUE);
(void) Psysexit(P, SYS_forksys, B_TRUE);
#define IS_SYS_FORK(w) (w == SYS_vfork || w == SYS_forksys)
(void) Psysexit(pctx->Pr, SYS_forksys, 1);
(void) Psysexit(pctx->Pr, SYS_forksys, 0);
case SYS_forksys:
ASSERT(code == SYS_vfork || code == SYS_forksys);
ASSERT(code == SYS_vfork || code == SYS_forksys);