From c591394f75d0462d9d9a17d66c1bcf800181a294 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 3 Nov 2012 20:33:30 -0700 Subject: Imported Upstream version 0.6.6 --- src/captab.h | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 src/captab.h (limited to 'src/captab.h') diff --git a/src/captab.h b/src/captab.h new file mode 100644 index 0000000..46a617c --- /dev/null +++ b/src/captab.h @@ -0,0 +1,69 @@ +/* captab.h -- + * Copyright 2009,2011 Red Hat Inc., Durham, North Carolina. + * All Rights Reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: + * Steve Grubb + */ + +_S(CAP_CHOWN, "chown" ) +_S(CAP_DAC_OVERRIDE, "dac_override" ) +_S(CAP_DAC_READ_SEARCH, "dac_read_search" ) +_S(CAP_FOWNER, "fowner" ) +_S(CAP_FSETID, "fsetid" ) +_S(CAP_KILL, "kill" ) +_S(CAP_SETGID, "setgid" ) +_S(CAP_SETUID, "setuid" ) +_S(CAP_SETPCAP, "setpcap" ) +_S(CAP_LINUX_IMMUTABLE, "linux_immutable" ) +_S(CAP_NET_BIND_SERVICE, "net_bind_service" ) +_S(CAP_NET_BROADCAST, "net_broadcast" ) +_S(CAP_NET_ADMIN, "net_admin" ) +_S(CAP_NET_RAW, "net_raw" ) +_S(CAP_IPC_LOCK, "ipc_lock" ) +_S(CAP_IPC_OWNER, "ipc_owner" ) +_S(CAP_SYS_MODULE, "sys_module" ) +_S(CAP_SYS_RAWIO, "sys_rawio" ) +_S(CAP_SYS_CHROOT, "sys_chroot" ) +_S(CAP_SYS_PTRACE, "sys_ptrace" ) +_S(CAP_SYS_PACCT, "sys_psacct" ) +_S(CAP_SYS_ADMIN, "sys_admin" ) +_S(CAP_SYS_BOOT, "sys_boot" ) +_S(CAP_SYS_NICE, "sys_nice" ) +_S(CAP_SYS_RESOURCE, "sys_resource" ) +_S(CAP_SYS_TIME, "sys_time" ) +_S(CAP_SYS_TTY_CONFIG, "sys_tty_config" ) +_S(CAP_MKNOD, "mknod" ) +_S(CAP_LEASE, "lease" ) +_S(CAP_AUDIT_WRITE, "audit_write" ) +_S(CAP_AUDIT_CONTROL, "audit_control" ) +#ifdef CAP_SETFCAP +_S(CAP_SETFCAP, "setfcap" ) +#endif +#ifdef CAP_MAC_OVERRIDE +_S(CAP_MAC_OVERRIDE, "mac_override" ) +#endif +#ifdef CAP_MAC_ADMIN +_S(CAP_MAC_ADMIN, "mac_admin" ) +#endif +#ifdef CAP_SYSLOG +_S(CAP_SYSLOG, "syslog" ) +#endif +#ifdef CAP_WAKE_ALARM +_S(CAP_WAKE_ALARM, "wake_alarm" ) +#endif + -- cgit v1.2.3