mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Add another sysctl flag, CTLFLAG_TUN, which is a hint to the userland
sysctl that a given variable is tunable. Also added is CTLFLAG_RDTUN, which is CTLFLAG_RD|CTLFLAG_TUN; TUN does not always imply read-only, so RDTUN should be used where RD was used before.
This commit is contained in:
parent
aa6a0037e2
commit
bd6fb64bb3
1 changed files with 2 additions and 0 deletions
|
|
@ -87,6 +87,8 @@ struct ctlname {
|
|||
#define CTLFLAG_DYN 0x02000000 /* Dynamic oid - can be freed */
|
||||
#define CTLFLAG_SKIP 0x01000000 /* Skip this sysctl when listing */
|
||||
#define CTLMASK_SECURE 0x00F00000 /* Secure level */
|
||||
#define CTLFLAG_TUN 0x00080000 /* Tunable variable */
|
||||
#define CTLFLAG_RDTUN (CTLFLAG_RD|CTLFLAG_TUN)
|
||||
|
||||
/*
|
||||
* Secure level. Note that CTLFLAG_SECURE == CTLFLAG_SECURE1.
|
||||
|
|
|
|||
Loading…
Reference in a new issue