From: Enrico Scholz Date: Thu, 21 Oct 2004 19:02:04 +0000 (+0000) Subject: added/updated flags and capabilities X-Git-Tag: IPSENTINEL_VERSION_0_12~234 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90b8a722319d55e10cf06a9246612dd2d60a2118;p=util-vserver.git added/updated flags and capabilities git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1760 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/vserver.h b/util-vserver/lib/vserver.h index 9204a64..9a4bf7b 100644 --- a/util-vserver/lib/vserver.h +++ b/util-vserver/lib/vserver.h @@ -169,6 +169,7 @@ #define VC_VXF_VIRT_MEM 0x00010000ull #define VC_VXF_VIRT_UPTIME 0x00020000ull #define VC_VXF_VIRT_CPU 0x00040000ull +#define VC_VXF_VIRT_LOAD 0x00080000ull #define VC_VXF_HIDE_MOUNT 0x01000000ull #define VC_VXF_HIDE_NETIF 0x02000000ull @@ -176,13 +177,20 @@ #define VC_VXF_STATE_SETUP (1ULL<<32) #define VC_VXF_STATE_INIT (1ULL<<33) +#define VC_VXF_FORK_RSS (1ULL<<48) +#define VC_VXF_PROLIFIC (1ULL<<49) + +#define VC_VXF_IGNEG_NICE (1ULL<<52) + + // the ccapabilities #define VC_VXC_SET_UTSNAME 0x00000001ull #define VC_VXC_SET_RLIMIT 0x00000002ull -#define VC_VXC_ICMP_PING 0x00000100ull +#define VC_VXC_RAW_ICMP 0x00000100ull #define VC_VXC_SECURE_MOUNT 0x00010000ull +#define VC_VXC_SECURE_REMOUNT 0x00020000ull #define VC_VXSM_FILL_RATE 0x0001 @@ -587,7 +595,7 @@ extern "C" { uint_least64_t vc_get_insecurebcaps() VC_ATTR_CONST; inline static uint_least64_t vc_get_insecureccaps() { - return ~(VC_VXC_SET_UTSNAME|VC_VXC_ICMP_PING); + return ~(VC_VXC_SET_UTSNAME|VC_VXC_RAW_ICMP); } inline static int vc_setfilecontext(char const *filename, xid_t xid) {