blob: e9d1086ffdadfb88343072451a5202bc20f48878 [file] [log] [blame]
Nick Kralevich1d1011a2012-09-06 10:14:03 -07001/* captab.h --
2 * Copyright 2009,2011-12 Red Hat Inc., Durham, North Carolina.
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
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * Authors:
20 * Steve Grubb <sgrubb@redhat.com>
21 */
22
23_S(CAP_CHOWN, "chown" )
24_S(CAP_DAC_OVERRIDE, "dac_override" )
25_S(CAP_DAC_READ_SEARCH, "dac_read_search" )
26_S(CAP_FOWNER, "fowner" )
27_S(CAP_FSETID, "fsetid" )
28_S(CAP_KILL, "kill" )
29_S(CAP_SETGID, "setgid" )
30_S(CAP_SETUID, "setuid" )
31_S(CAP_SETPCAP, "setpcap" )
32_S(CAP_LINUX_IMMUTABLE, "linux_immutable" )
33_S(CAP_NET_BIND_SERVICE, "net_bind_service" )
34_S(CAP_NET_BROADCAST, "net_broadcast" )
35_S(CAP_NET_ADMIN, "net_admin" )
36_S(CAP_NET_RAW, "net_raw" )
37_S(CAP_IPC_LOCK, "ipc_lock" )
38_S(CAP_IPC_OWNER, "ipc_owner" )
39_S(CAP_SYS_MODULE, "sys_module" )
40_S(CAP_SYS_RAWIO, "sys_rawio" )
41_S(CAP_SYS_CHROOT, "sys_chroot" )
42_S(CAP_SYS_PTRACE, "sys_ptrace" )
43_S(CAP_SYS_PACCT, "sys_psacct" )
44_S(CAP_SYS_ADMIN, "sys_admin" )
45_S(CAP_SYS_BOOT, "sys_boot" )
46_S(CAP_SYS_NICE, "sys_nice" )
47_S(CAP_SYS_RESOURCE, "sys_resource" )
48_S(CAP_SYS_TIME, "sys_time" )
49_S(CAP_SYS_TTY_CONFIG, "sys_tty_config" )
50_S(CAP_MKNOD, "mknod" )
51_S(CAP_LEASE, "lease" )
52_S(CAP_AUDIT_WRITE, "audit_write" )
53_S(CAP_AUDIT_CONTROL, "audit_control" )
54#ifdef CAP_SETFCAP
55_S(CAP_SETFCAP, "setfcap" )
56#endif
57#ifdef CAP_MAC_OVERRIDE
58_S(CAP_MAC_OVERRIDE, "mac_override" )
59#endif
60#ifdef CAP_MAC_ADMIN
61_S(CAP_MAC_ADMIN, "mac_admin" )
62#endif
63#ifdef CAP_SYSLOG
64_S(CAP_SYSLOG, "syslog" )
65#endif
66#ifdef CAP_WAKE_ALARM
67_S(CAP_WAKE_ALARM, "wake_alarm" )
68#endif
69#if defined(CAP_EPOLLWAKEUP) && defined(CAP_BLOCK_SUSPEND)
70#error "Both CAP_EPOLLWAKEUP and CAP_BLOCK_SUSPEND are defined"
71#endif
72#ifdef CAP_EPOLLWAKEUP
73_S(CAP_EPOLLWAKEUP, "epollwakeup" )
74#endif
75#ifdef CAP_BLOCK_SUSPEND
76_S(CAP_BLOCK_SUSPEND, "block_suspend" )
77#endif
78