Debian Codegraph @

src/captab.h

raw
1 /* captab.h --
2 * Copyright 2009,2011-14,2020 Red Hat Inc.
3 * All Rights Reserved.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program; see the file COPYING.LIB. If not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor
18 * Boston, MA 02110-1335, USA.
19 *
20 * Authors:
21 * Steve Grubb <[email protected]>
22 */
23
24 _S(CAP_CHOWN, "chown" )
25 _S(CAP_DAC_OVERRIDE, "dac_override" )
26 _S(CAP_DAC_READ_SEARCH, "dac_read_search" )
27 _S(CAP_FOWNER, "fowner" )
28 _S(CAP_FSETID, "fsetid" )
29 _S(CAP_KILL, "kill" )
30 _S(CAP_SETGID, "setgid" )
31 _S(CAP_SETUID, "setuid" )
32 _S(CAP_SETPCAP, "setpcap" )
33 _S(CAP_LINUX_IMMUTABLE, "linux_immutable" )
34 _S(CAP_NET_BIND_SERVICE, "net_bind_service" )
35 _S(CAP_NET_BROADCAST, "net_broadcast" )
36 _S(CAP_NET_ADMIN, "net_admin" )
37 _S(CAP_NET_RAW, "net_raw" )
38 _S(CAP_IPC_LOCK, "ipc_lock" )
39 _S(CAP_IPC_OWNER, "ipc_owner" )
40 _S(CAP_SYS_MODULE, "sys_module" )
41 _S(CAP_SYS_RAWIO, "sys_rawio" )
42 _S(CAP_SYS_CHROOT, "sys_chroot" )
43 _S(CAP_SYS_PTRACE, "sys_ptrace" )
44 _S(CAP_SYS_PACCT, "sys_pacct" )
45 _S(CAP_SYS_ADMIN, "sys_admin" )
46 _S(CAP_SYS_BOOT, "sys_boot" )
47 _S(CAP_SYS_NICE, "sys_nice" )
48 _S(CAP_SYS_RESOURCE, "sys_resource" )
49 _S(CAP_SYS_TIME, "sys_time" )
50 _S(CAP_SYS_TTY_CONFIG, "sys_tty_config" )
51 _S(CAP_MKNOD, "mknod" )
52 _S(CAP_LEASE, "lease" )
53 _S(CAP_AUDIT_WRITE, "audit_write" )
54 _S(CAP_AUDIT_CONTROL, "audit_control" )
55 #ifdef CAP_SETFCAP
56 _S(CAP_SETFCAP, "setfcap" )
57 #endif
58 #ifdef CAP_MAC_OVERRIDE
59 _S(CAP_MAC_OVERRIDE, "mac_override" )
60 #endif
61 #ifdef CAP_MAC_ADMIN
62 _S(CAP_MAC_ADMIN, "mac_admin" )
63 #endif
64 #ifdef CAP_SYSLOG
65 _S(CAP_SYSLOG, "syslog" )
66 #endif
67 #if defined(CAP_EPOLLWAKEUP) && defined(CAP_BLOCK_SUSPEND)
68 #error "Both CAP_EPOLLWAKEUP and CAP_BLOCK_SUSPEND are defined"
69 #endif
70 #ifdef CAP_EPOLLWAKEUP
71 _S(CAP_EPOLLWAKEUP, "epollwakeup" )
72 #endif
73 #ifdef CAP_WAKE_ALARM
74 _S(CAP_WAKE_ALARM, "wake_alarm" )
75 #endif
76 #ifdef CAP_BLOCK_SUSPEND
77 _S(CAP_BLOCK_SUSPEND, "block_suspend" )
78 #endif
79 #ifdef CAP_AUDIT_READ
80 _S(CAP_AUDIT_READ, "audit_read" )
81 #endif
82 #ifdef CAP_PERFMON
83 _S(CAP_PERFMON, "perfmon" )
84 #endif
85 #ifdef CAP_BPF
86 _S(CAP_BPF, "bpf" )
87 #endif
88 #ifdef CAP_CHECKPOINT_RESTORE
89 _S(CAP_CHECKPOINT_RESTORE, "checkpoint_restore")
90 #endif