]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - security/apparmor/include/sid.h
Merge remote-tracking branch 'origin/next' into kvm-ppc-next
[mirror_ubuntu-artful-kernel.git] / security / apparmor / include / sid.h
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
19 /* sid value that will not be allocated */
20 #define AA_SID_INVALID 0
21 #define AA_SID_ALLOC AA_SID_INVALID
22
23 u32 aa_alloc_sid(void);
24 void aa_free_sid(u32 sid);
25
26 #endif /* __AA_SID_H */