blob: 513ca0e48965a8a78bf4e6322794b528534fe500 [file] [log] [blame]
John Johansenc88d4c72010-07-29 14:48:00 -07001/*
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
John Johansena4987852013-02-18 16:10:34 -080019/* sid value that will not be allocated */
20#define AA_SID_INVALID 0
21#define AA_SID_ALLOC AA_SID_INVALID
John Johansenc88d4c72010-07-29 14:48:00 -070022
23u32 aa_alloc_sid(void);
24void aa_free_sid(u32 sid);
25
26#endif /* __AA_SID_H */