Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109844933
D39856.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D39856.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D39856: ptrace: Clear TDB_BORN during PT_DETACH.
Attached
Detach File
Event Timeline
Log In to Comment