Lines Matching refs:ctl

153 	} ctl;  in ptrace()  local
175 ctl.cmd = PCSTRACE; in ptrace()
176 prfillset(&ctl.arg.signals); in ptrace()
177 if (write(fd, (char *)&ctl, sizeof (long)+sizeof (sigset_t)) in ptrace()
180 ctl.cmd = PCSFAULT; in ptrace()
181 premptyset(&ctl.arg.faults); in ptrace()
182 if (write(fd, (char *)&ctl, sizeof (long)+sizeof (fltset_t)) in ptrace()
185 ctl.cmd = PCSENTRY; in ptrace()
186 premptyset(&ctl.arg.syscalls); in ptrace()
187 if (write(fd, (char *)&ctl, sizeof (long)+sizeof (sysset_t)) in ptrace()
190 ctl.cmd = PCSEXIT; in ptrace()
191 premptyset(&ctl.arg.syscalls); in ptrace()
192 if (write(fd, (char *)&ctl, sizeof (long)+sizeof (sysset_t)) in ptrace()
195 ctl.cmd = PCUNSET; in ptrace()
196 ctl.arg.flags = PR_FORK; in ptrace()
197 if (write(fd, (char *)&ctl, sizeof (long)+sizeof (long)) in ptrace()
200 ctl.cmd = PCSET; in ptrace()
201 ctl.arg.flags = PR_PTRACE; in ptrace()
202 if (write(fd, (char *)&ctl, sizeof (long)+sizeof (long)) in ptrace()
346 (void) memset((char *)&ctl.arg.siginfo, 0, in ptrace()
348 ctl.arg.siginfo.si_signo = data; in ptrace()
349 ctl.cmd = PCSSIG; in ptrace()
350 if (write(cp->ctlfd, (char *)&ctl, in ptrace()
379 (void) memset((char *)&ctl.arg.siginfo, 0, sizeof (siginfo_t)); in ptrace()
380 ctl.arg.siginfo.si_signo = SIGKILL; in ptrace()
381 ctl.cmd = PCSSIG; in ptrace()
382 (void) write(cp->ctlfd, (char *)&ctl, in ptrace()
545 long ctl[2]; in GrabProc() local
564 ctl[0] = PCSET; in GrabProc()
565 ctl[1] = PR_RLC; in GrabProc()
572 write(cp->ctlfd, (char *)ctl, 2*sizeof (long)) in GrabProc()