Annotate suser_enabled as __read_mostly
It is read a lot in priv code.
This commit is contained in:
parent
1f2a6b8501
commit
8bdcfb10d3
@ -54,7 +54,7 @@ __FBSDID("$FreeBSD$");
|
||||
* userland programs, and should not be done without careful consideration of
|
||||
* the consequences.
|
||||
*/
|
||||
static int suser_enabled = 1;
|
||||
static int __read_mostly suser_enabled = 1;
|
||||
SYSCTL_INT(_security_bsd, OID_AUTO, suser_enabled, CTLFLAG_RWTUN,
|
||||
&suser_enabled, 0, "processes with uid 0 have privilege");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user