diff options
| author | Xin LI <delphij@FreeBSD.org> | 2015-06-01 18:15:45 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2015-06-01 18:15:45 +0000 |
| commit | 4c372ca254b32269c88b4eadfead1cc3e8fd0877 (patch) | |
| tree | 53b55849704496af3ae82ae2dbad43303649c946 /sys/kern/sys_process.c | |
| parent | 00ed281d7da5d155a3d2f8403e9ff618dfea3310 (diff) | |
Notes
Diffstat (limited to 'sys/kern/sys_process.c')
| -rw-r--r-- | sys/kern/sys_process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 3bf2db80871f..09a43f4bfc76 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -963,6 +963,7 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data) CTR1(KTR_PTRACE, "PT_DETACH: pid %d", p->p_pid); p->p_oppid = 0; p->p_flag &= ~(P_TRACED | P_WAITED | P_FOLLOWFORK); + p->p_stops = 0; /* should we send SIGCHLD? */ /* childproc_continued(p); */ |
