Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159762199
D26577.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
386 B
Referenced Files
None
Subscribers
None
D26577.diff
View Options
Index: head/sys/kern/subr_syscall.c
===================================================================
--- head/sys/kern/subr_syscall.c
+++ head/sys/kern/subr_syscall.c
@@ -90,7 +90,7 @@
goto retval;
}
- if (__predict_false((p->p_flag & P_TRACED) != 0)) {
+ if (__predict_false(traced)) {
PROC_LOCK(p);
if (p->p_ptevents & PTRACE_SCE)
ptracestop((td), SIGTRAP, NULL);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 18, 11:14 PM (12 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34061577
Default Alt Text
D26577.diff (386 B)
Attached To
Mode
D26577: Use the 'traced' variable instead of comparing p->p_flag again
Attached
Detach File
Event Timeline
Log In to Comment