Group more capabilities under 'File capabilities'
This commit is contained in:
parent
a582248d8d
commit
054a16eebc
1 changed files with 16 additions and 16 deletions
|
@ -9,7 +9,7 @@ module BSD::Capsicum
|
|||
CAP_RIGHTS_VERSION = 0x0
|
||||
|
||||
##
|
||||
# @group General file capabilties
|
||||
# @group File capabilties
|
||||
CAP_READ = 0x200000000000001
|
||||
CAP_WRITE = 0x200000000000002
|
||||
CAP_SEEK = 0x20000000000000c
|
||||
|
@ -20,6 +20,18 @@ module BSD::Capsicum
|
|||
CAP_FEXECVE = 0x200000000000080
|
||||
CAP_FSYNC = 0x200000000000100
|
||||
CAP_FTRUNCATE = 0x200000000000200
|
||||
CAP_FCHFLAGS = 0x200000000001000
|
||||
CAP_FCHMOD = 0x200000000002000
|
||||
CAP_FCHMODAT = 0x200000000002400
|
||||
CAP_FCHOWN = 0x200000000004000
|
||||
CAP_FCHOWNAT = 0x200000000004400
|
||||
CAP_FLOCK = 0x200000000010000
|
||||
CAP_FPATHCONF = 0x200000000020000
|
||||
CAP_FSTAT = 0x200000000080000
|
||||
CAP_FSTATAT = 0x200000000080400
|
||||
CAP_FSTATFS = 0x200000000100000
|
||||
CAP_FUTIMES = 0x200000000200000
|
||||
CAP_FUTIMESAT = 0x200000000200400
|
||||
# @endgroup
|
||||
|
||||
##
|
||||
|
@ -60,21 +72,6 @@ module BSD::Capsicum
|
|||
# @group Uncategorized capabilities
|
||||
CAP_CHFLAGSAT = 0x200000000001400
|
||||
CAP_EVENT = 0x400000000000020
|
||||
CAP_FCHDIR = 0x200000000000800
|
||||
CAP_FCHFLAGS = 0x200000000001000
|
||||
CAP_FCHMOD = 0x200000000002000
|
||||
CAP_FCHMODAT = 0x200000000002400
|
||||
CAP_FCHOWN = 0x200000000004000
|
||||
CAP_FCHOWNAT = 0x200000000004400
|
||||
CAP_FCNTL = 0x200000000008000
|
||||
CAP_FLOCK = 0x200000000010000
|
||||
CAP_FPATHCONF = 0x200000000020000
|
||||
CAP_FSCK = 0x200000000040000
|
||||
CAP_FSTAT = 0x200000000080000
|
||||
CAP_FSTATAT = 0x200000000080400
|
||||
CAP_FSTATFS = 0x200000000100000
|
||||
CAP_FUTIMES = 0x200000000200000
|
||||
CAP_FUTIMESAT = 0x200000000200400
|
||||
CAP_IOCTL = 0x400000000000080
|
||||
CAP_KQUEUE = 0x400000000100040
|
||||
CAP_LOOKUP = 0x200000000000400
|
||||
|
@ -88,6 +85,9 @@ module BSD::Capsicum
|
|||
CAP_SEM_WAIT = 0x400000000000010
|
||||
CAP_TTYHOOK = 0x400000000000100
|
||||
CAP_UNLINKAT = 0x200000010000400
|
||||
CAP_FSCK = 0x200000000040000
|
||||
CAP_FCHDIR = 0x200000000000800
|
||||
CAP_FCNTL = 0x200000000008000
|
||||
# @endgroup
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue