Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162629916
D51150.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
817 B
Referenced Files
None
Subscribers
None
D51150.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
@@ -4988,6 +4988,10 @@
return (0);
}
+/*
+ * Do not add more here. Use SYSCTL_JAIL_PARAM (allow flags for jails)
+ * instead.
+ */
SYSCTL_PROC(_security_jail, OID_AUTO, set_hostname_allowed,
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE,
NULL, PR_ALLOW_SET_HOSTNAME, sysctl_jail_default_allow, "I",
@@ -5015,7 +5019,7 @@
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");
+ "Processes in jail can lock/unlock physical pages in memory (deprecated)");
static int
sysctl_jail_default_level(SYSCTL_HANDLER_ARGS)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 6:38 AM (19 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35126472
Default Alt Text
D51150.diff (817 B)
Attached To
Mode
D51150: Jail sysctls: deprecated a generic sysctl in favour of allow-flags
Attached
Detach File
Event Timeline
Log In to Comment