Root/
1 | /* |
2 | * AppArmor security module |
3 | * |
4 | * This file contains AppArmor basic path manipulation function definitions. |
5 | * |
6 | * Copyright (C) 1998-2008 Novell/SUSE |
7 | * Copyright 2009-2010 Canonical Ltd. |
8 | * |
9 | * This program is free software; you can redistribute it and/or |
10 | * modify it under the terms of the GNU General Public License as |
11 | * published by the Free Software Foundation, version 2 of the |
12 | * License. |
13 | */ |
14 | |
15 | #ifndef __AA_PATH_H |
16 | #define __AA_PATH_H |
17 | |
18 | |
19 | enum path_flags { |
20 | PATH_IS_DIR = 0x1, /* path is a directory */ |
21 | PATH_CONNECT_PATH = 0x4, /* connect disconnected paths to / */ |
22 | PATH_CHROOT_REL = 0x8, /* do path lookup relative to chroot */ |
23 | PATH_CHROOT_NSCONNECT = 0x10, /* connect paths that are at ns root */ |
24 | |
25 | PATH_DELEGATE_DELETED = 0x08000, /* delegate deleted files */ |
26 | PATH_MEDIATE_DELETED = 0x10000, /* mediate deleted paths */ |
27 | }; |
28 | |
29 | int aa_get_name(struct path *path, int flags, char **buffer, const char **name); |
30 | |
31 | #endif /* __AA_PATH_H */ |
32 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9