mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add non-TRUSTEDBSD prefixed knobs for the _PC_ACL* and {CAP,INF,MAC}_PRESENT knobs
It's not necessarily intuitive that the variables to query contain TRUSTEDBSD in the prefix. Add non-TRUSTEDBSD prefixed knobs for querying things like "_PC_ACL_NFS4". MFC after: 1 week Relnotes: yes Reviewed by: wollman Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D7618
This commit is contained in:
parent
28e21133f3
commit
8905590ba9
1 changed files with 6 additions and 0 deletions
|
|
@ -20,8 +20,14 @@ static const struct map *in_word_set(const char *str);
|
|||
%}
|
||||
struct map { const char *name; int key; int valid; };
|
||||
%%
|
||||
ACL_EXTENDED, _PC_ACL_EXTENDED
|
||||
ACL_NFS4, _PC_ACL_NFS4
|
||||
ACL_PATH_MAX, _PC_ACL_PATH_MAX
|
||||
CAP_PRESENT, _PC_CAP_PRESENT
|
||||
FILESIZEBITS, _PC_FILESIZEBITS
|
||||
INF_PRESENT, _PC_INF_PRESENT
|
||||
LINK_MAX, _PC_LINK_MAX
|
||||
MAC_PRESENT, _PC_MAC_PRESENT
|
||||
MAX_CANON, _PC_MAX_CANON
|
||||
MAX_INPUT, _PC_MAX_INPUT
|
||||
MIN_HOLE_SIZE, _PC_MIN_HOLE_SIZE
|
||||
|
|
|
|||
Loading…
Reference in a new issue