summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8a80d25)
SCCS-vsn: sys/kern/kern_proc.c 3.15
-/* kern_proc.c 3.14 %G% */
+/* kern_proc.c 3.15 %G% */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
if(q->p_pptr == p) {
q->p_pptr = &proc[1];
q->p_ppid = 1;
if(q->p_pptr == p) {
q->p_pptr = &proc[1];
q->p_ppid = 1;
wakeup((caddr_t)&proc[1]);
/*
* Traced processes are killed
* since their existence means someone is screwing up.
wakeup((caddr_t)&proc[1]);
/*
* Traced processes are killed
* since their existence means someone is screwing up.
- * Traced processes are sent a hangup and a continue.
+ * Stopped processes are sent a hangup and a continue.
* This is designed to be ``safe'' for setuid
* processes since they must be willing to tolerate
* hangups anyways.
* This is designed to be ``safe'' for setuid
* processes since they must be willing to tolerate
* hangups anyways.
}
/*
* Protect this process from future
}
/*
* Protect this process from future
- * tty signals, and clear TSTP/TTIN/TTOU if pending.
+ * tty signals, clear TSTP/TTIN/TTOU if pending,
+ * and set SDETACH bit on procs.