Linux 3.15-rc1
[linux/fpc-iii.git] / security / apparmor / include / sid.h
blob513ca0e48965a8a78bf4e6322794b528534fe500
1 /*
2 * AppArmor security module
4 * This file contains AppArmor security identifier (sid) definitions
6 * Copyright 2009-2010 Canonical Ltd.
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
14 #ifndef __AA_SID_H
15 #define __AA_SID_H
17 #include <linux/types.h>
19 /* sid value that will not be allocated */
20 #define AA_SID_INVALID 0
21 #define AA_SID_ALLOC AA_SID_INVALID
23 u32 aa_alloc_sid(void);
24 void aa_free_sid(u32 sid);
26 #endif /* __AA_SID_H */