diff options
| author | John Johansen <john.johansen@canonical.com> | 2013-08-14 14:27:32 -0400 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2013-08-14 14:42:07 -0400 |
| commit | 84f1f787421cd83bb7dfb34d584586f6a5fe7baa (patch) | |
| tree | fbb958c9f7950f64feea732c7d78d0831120d540 /security/apparmor/include | |
| parent | 29b3822f1e132aa0f115f69730d6e4182df153d4 (diff) | |
apparmor: export set of capabilities supported by the apparmor module
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
Diffstat (limited to 'security/apparmor/include')
| -rw-r--r-- | security/apparmor/include/capability.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/apparmor/include/capability.h b/security/apparmor/include/capability.h index c24d2959ea02..2e7c9d6a2f3b 100644 --- a/security/apparmor/include/capability.h +++ b/security/apparmor/include/capability.h | |||
| @@ -17,6 +17,8 @@ | |||
| 17 | 17 | ||
| 18 | #include <linux/sched.h> | 18 | #include <linux/sched.h> |
| 19 | 19 | ||
| 20 | #include "apparmorfs.h" | ||
| 21 | |||
| 20 | struct aa_profile; | 22 | struct aa_profile; |
| 21 | 23 | ||
| 22 | /* aa_caps - confinement data for capabilities | 24 | /* aa_caps - confinement data for capabilities |
| @@ -34,6 +36,8 @@ struct aa_caps { | |||
| 34 | kernel_cap_t extended; | 36 | kernel_cap_t extended; |
| 35 | }; | 37 | }; |
| 36 | 38 | ||
| 39 | extern struct aa_fs_entry aa_fs_entry_caps[]; | ||
| 40 | |||
| 37 | int aa_capable(struct task_struct *task, struct aa_profile *profile, int cap, | 41 | int aa_capable(struct task_struct *task, struct aa_profile *profile, int cap, |
| 38 | int audit); | 42 | int audit); |
| 39 | 43 | ||
