X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcapability-compat.h;h=b520ab064de6a020a4bb9c64be99ed288c91cee0;hb=ae30e15c735cd221315b111584cb30fc9e7bc476;hp=8493080ce12cdef61f9bbb327756d2f05079a6da;hpb=9c78378bebc1a9f3d400f422df8ede9efea57dea;p=util-vserver.git diff --git a/src/capability-compat.h b/src/capability-compat.h index 8493080..b520ab0 100644 --- a/src/capability-compat.h +++ b/src/capability-compat.h @@ -29,3 +29,11 @@ extern int capget (struct __user_cap_header_struct *, struct __user_cap_data_str extern int capset (struct __user_cap_header_struct *, struct __user_cap_data_struct *); #endif + +#ifndef _LINUX_CAPABILITY_VERSION_1 +# define _LINUX_CAPABILITY_VERSION_1 _LINUX_CAPABILITY_VERSION +#endif + +#ifndef _LINUX_CAPABILITY_VERSION_3 +# define _LINUX_CAPABILITY_VERSION_3 0x20080522 +#endif