From: Daniel Hokka Zakrisson Date: Mon, 5 Oct 2009 21:23:54 +0000 (+0000) Subject: Add new ccaps. X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae59423d404b48f39f674570f9b40175a31db571;p=util-vserver.git Add new ccaps. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2850 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/lib/ccaps-v13.c b/lib/ccaps-v13.c index d0045b0..8041435 100644 --- a/lib/ccaps-v13.c +++ b/lib/ccaps-v13.c @@ -33,8 +33,11 @@ static struct Mapping_uint64 const VALUES[] = { DECL("set_utsname", VC_VXC_SET_UTSNAME), DECL("set_rlimit", VC_VXC_SET_RLIMIT), + DECL("fs_security", VC_VXC_FS_SECURITY), DECL("raw_icmp", VC_VXC_RAW_ICMP), DECL("syslog", VC_VXC_SYSLOG), + DECL("oom_adjust", VC_VXC_OOM_ADJUST), + DECL("audit_control", VC_VXC_AUDIT_CONTROL), DECL("secure_mount", VC_VXC_SECURE_MOUNT), DECL("secure_remount", VC_VXC_SECURE_REMOUNT), DECL("binary_mount", VC_VXC_BINARY_MOUNT), diff --git a/lib/vserver.h b/lib/vserver.h index 4508082..2ab484a 100644 --- a/lib/vserver.h +++ b/lib/vserver.h @@ -204,9 +204,12 @@ // the ccapabilities #define VC_VXC_SET_UTSNAME 0x00000001ull #define VC_VXC_SET_RLIMIT 0x00000002ull +#define VC_VXC_FS_SECURITY 0x00000004ull #define VC_VXC_RAW_ICMP 0x00000100ull #define VC_VXC_SYSLOG 0x00001000ull +#define VC_VXC_OOM_ADJUST 0x00002000ull +#define VC_VXC_AUDIT_CONTROL 0x00004000ull #define VC_VXC_SECURE_MOUNT 0x00010000ull #define VC_VXC_SECURE_REMOUNT 0x00020000ull