Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109358705
D43314.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
618 B
Referenced Files
None
Subscribers
None
D43314.diff
View Options
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c
--- a/sys/kern/kern_jail.c
+++ b/sys/kern/kern_jail.c
@@ -4436,6 +4436,10 @@
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE,
NULL, PR_ALLOW_MOUNT, sysctl_jail_default_allow, "I",
"Processes in jail can mount/unmount jail-friendly file systems (deprecated)");
+SYSCTL_PROC(_security_jail, OID_AUTO, mlock_allowed,
+ CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE,
+ NULL, PR_ALLOW_MLOCK, sysctl_jail_default_allow, "I",
+ "Processes in jail can lock/unlock physical pages in memory");
static int
sysctl_jail_default_level(SYSCTL_HANDLER_ARGS)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 12:51 AM (20 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16463957
Default Alt Text
D43314.diff (618 B)
Attached To
Mode
D43314: jail: add security.jail.mlock_allowed
Attached
Detach File
Event Timeline
Log In to Comment