Page MenuHomeFreeBSD

D39856.diff
No OneTemporary

D39856.diff

diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -1144,7 +1144,7 @@
td->td_dbgflags &= ~TDB_STOPATFORK;
}
PROC_UNLOCK(p);
- } else if (p->p_flag & P_TRACED || td->td_dbgflags & TDB_BORN) {
+ } else if (p->p_flag & P_TRACED) {
/*
* This is the start of a new thread in a traced
* process. Report a system call exit event.
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -1288,7 +1288,7 @@
SIGSTOP);
}
td3->td_dbgflags &= ~(TDB_XSIG | TDB_FSTP |
- TDB_SUSPEND);
+ TDB_SUSPEND | TDB_BORN);
}
if ((p->p_flag2 & P2_PTRACE_FSTP) != 0) {
diff --git a/sys/sys/param.h b/sys/sys/param.h
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -76,7 +76,7 @@
* cannot include sys/param.h and should only be updated here.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 1400089
+#define __FreeBSD_version 1400090
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 11, 6:48 AM (10 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16590326
Default Alt Text
D39856.diff (1 KB)

Event Timeline