]>
Commit | Line | Data |
---|---|---|
c88d4c7b JJ |
1 | /* |
2 | * AppArmor security module | |
3 | * | |
4 | * This file contains AppArmor security identifier (sid) definitions | |
5 | * | |
6 | * Copyright 2009-2010 Canonical Ltd. | |
7 | * | |
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. | |
12 | */ | |
13 | ||
14 | #ifndef __AA_SID_H | |
15 | #define __AA_SID_H | |
16 | ||
17 | #include <linux/types.h> | |
18 | ||
a4987857 JJ |
19 | /* sid value that will not be allocated */ |
20 | #define AA_SID_INVALID 0 | |
21 | #define AA_SID_ALLOC AA_SID_INVALID | |
c88d4c7b JJ |
22 | |
23 | u32 aa_alloc_sid(void); | |
24 | void aa_free_sid(u32 sid); | |
25 | ||
26 | #endif /* __AA_SID_H */ |