Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157934450
D47332.id145612.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
707 B
Referenced Files
None
Subscribers
None
D47332.id145612.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
@@ -4513,11 +4513,11 @@
}
SYSCTL_PROC(_security_jail_children, OID_AUTO, max,
- CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE,
+ CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE | CTLFLAG_PRISON,
NULL, offsetof(struct prison, pr_childmax), sysctl_jail_children,
"I", "Maximum number of child jails");
SYSCTL_PROC(_security_jail_children, OID_AUTO, cur,
- CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE,
+ CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE | CTLFLAG_PRISON,
NULL, offsetof(struct prison, pr_childcount), sysctl_jail_children,
"I", "Current number of child jails");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 27, 3:20 PM (8 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33560985
Default Alt Text
D47332.id145612.diff (707 B)
Attached To
Mode
D47332: sysctl: Revise meaning of CTLFLAG_PRISON
Attached
Detach File
Event Timeline
Log In to Comment