Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177563996
D26577.1794742235.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
386 B
Referenced Files
None
Subscribers
None
D26577.1794742235.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
Sun, Nov 15, 11:30 AM (14 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41742226
Default Alt Text
D26577.1794742235.diff (386 B)
Attached To
Mode
D26577: Use the 'traced' variable instead of comparing p->p_flag again
Attached
Detach File
Event Timeline