summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/sid.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/apparmor/include/sid.h')
-rw-r--r--security/apparmor/include/sid.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/apparmor/include/sid.h b/security/apparmor/include/sid.h
index 020db35..513ca0e 100644
--- a/security/apparmor/include/sid.h
+++ b/security/apparmor/include/sid.h
@@ -16,7 +16,9 @@
#include <linux/types.h>
-struct aa_profile;
+/* sid value that will not be allocated */
+#define AA_SID_INVALID 0
+#define AA_SID_ALLOC AA_SID_INVALID
u32 aa_alloc_sid(void);
void aa_free_sid(u32 sid);
OpenPOWER on IntegriCloud