mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
Annotate suser_enabled as __read_mostly
It is read a lot in priv code.
This commit is contained in:
parent
1f2a6b8501
commit
8bdcfb10d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357885
@ -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…
Reference in New Issue
Block a user