Use CTLFLAG_RDTUN for read-only sysctl that exports tunable.
Reminded by: pjd MFC after: 6 days
This commit is contained in:
parent
c3f9cbb0e1
commit
de64ee1a30
@ -62,8 +62,8 @@ __FBSDID("$FreeBSD$");
|
||||
#define MAX_LD 8192
|
||||
|
||||
int max_ldt_segment = 1024;
|
||||
SYSCTL_INT(_machdep, OID_AUTO, max_ldt_segment, CTLFLAG_RD, &max_ldt_segment,
|
||||
0,
|
||||
SYSCTL_INT(_machdep, OID_AUTO, max_ldt_segment, CTLFLAG_RDTUN,
|
||||
&max_ldt_segment, 0,
|
||||
"Maximum number of allowed LDT segments in the single address space");
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user