--- linux-3.7/include/uapi/linux/capability.h~ 2011-01-19 19:06:36.467207804 +0100 +++ linux-3.7/include/uapi/linux/capability.h 2011-01-19 19:07:14.046959978 +0100 @@ -356,7 +356,12 @@ #define CAP_LAST_CAP CAP_CHECKPOINT_RESTORE -#define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP) +/* Allow context manipulations */ +/* Allow changing context info on files */ + +#define CAP_CONTEXT 63 + +#define cap_valid(x) ((x) >= 0 && ((x) <= CAP_LAST_CAP || (x) == CAP_CONTEXT)) /* * Bit location of each capability (used by user-space library and kernel)