Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175091279
D60392.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
339 B
Referenced Files
None
Subscribers
None
D60392.diff
View Options
diff --git a/sys/kern/kern_jaildesc.c b/sys/kern/kern_jaildesc.c
--- a/sys/kern/kern_jaildesc.c
+++ b/sys/kern/kern_jaildesc.c
@@ -418,7 +418,9 @@
jd = fp->f_data;
kif->kf_type = KF_TYPE_JAILDESC;
+ JAILDESC_LOCK(jd);
kif->kf_un.kf_jail.kf_jid = jd->jd_prison ? jd->jd_prison->pr_id : 0;
+ JAILDESC_UNLOCK(jd);
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 9, 5:04 AM (3 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40321869
Default Alt Text
D60392.diff (339 B)
Attached To
Mode
D60392: jaildesc: Lock prison pointer when filling kinfo
Attached
Detach File
Event Timeline
Log In to Comment