#ifdef __KERNEL__
#include <linux/spinlock.h>
-
-extern spinlock_t task_capability_lock;
+#include <asm/current.h>
/* #define STRICT_CAP_T_TYPECHECKS */
/* Allow enabling/disabling tagged queuing on SCSI controllers and sending
arbitrary SCSI commands */
/* Allow setting encryption key on loopback filesystem */
+/* Allow setting zone reclaim policy */
/* Allow the selection of a security context */
#define CAP_SYS_ADMIN 21
#define CAP_LEASE 28
+#define CAP_AUDIT_WRITE 29
+
+#define CAP_AUDIT_CONTROL 30
+
/* Allow context manipulations */
/* Allow changing context info on files */
-#define CAP_CONTEXT 29
+#define CAP_CONTEXT 31
#ifdef __KERNEL__
/*
#define cap_is_fs_cap(c) (CAP_TO_MASK(c) & CAP_FS_MASK)
+extern int capable(int cap);
+
#endif /* __KERNEL__ */
#endif /* !_LINUX_CAPABILITY_H */