o Make kern.security.bsd.suser_enabled TUNABLE.
Requested by: green
This commit is contained in:
parent
47891de1a5
commit
65bbadfbbc
@ -1202,6 +1202,7 @@ groupmember(gid, cred)
|
||||
int suser_enabled = 1;
|
||||
SYSCTL_INT(_kern_security_bsd, OID_AUTO, suser_enabled, CTLFLAG_RW,
|
||||
&suser_enabled, 0, "processes with uid 0 have privilege");
|
||||
TUNABLE_INT("kern.security.bsd.suser_enabled", &suser_enabled);
|
||||
|
||||
/*
|
||||
* Test whether the specified credentials imply "super-user" privilege.
|
||||
|
Loading…
Reference in New Issue
Block a user