Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136971102
D15954.id44262.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
952 B
Referenced Files
None
Subscribers
None
D15954.id44262.diff
View Options
Index: head/sys/kern/sys_process.c
===================================================================
--- head/sys/kern/sys_process.c
+++ head/sys/kern/sys_process.c
@@ -688,6 +688,7 @@
proc_set_traced(struct proc *p, bool stop)
{
+ sx_assert(&proctree_lock, SX_XLOCKED);
PROC_LOCK_ASSERT(p, MA_OWNED);
p->p_flag |= P_TRACED;
if (stop)
Index: head/sys/sys/proc.h
===================================================================
--- head/sys/sys/proc.h
+++ head/sys/sys/proc.h
@@ -633,7 +633,7 @@
u_int p_stype; /* (c) Stop event type. */
char p_step; /* (c) Process is stopped. */
u_char p_pfsflags; /* (c) Procfs flags. */
- u_int p_ptevents; /* (c) ptrace() event mask. */
+ u_int p_ptevents; /* (c + e) ptrace() event mask. */
struct nlminfo *p_nlminfo; /* (?) Only used by/for lockd. */
struct kaioinfo *p_aioinfo; /* (y) ASYNC I/O info. */
struct thread *p_singlethread;/* (c + j) If single threading this is it */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 21, 9:14 PM (8 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25804650
Default Alt Text
D15954.id44262.diff (952 B)
Attached To
Mode
D15954: update proc->p_ptevents annotation
Attached
Detach File
Event Timeline
Log In to Comment