capability.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) capability.h (c97204baf840bf850e14ef4f5f43251239ca43b6)
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor capability mediation definitions.
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2013 Canonical Ltd.
8 *

--- 22 unchanged lines hidden (view full) ---

31struct aa_caps {
32 kernel_cap_t allow;
33 kernel_cap_t audit;
34 kernel_cap_t quiet;
35 kernel_cap_t kill;
36 kernel_cap_t extended;
37};
38
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor capability mediation definitions.
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2013 Canonical Ltd.
8 *

--- 22 unchanged lines hidden (view full) ---

31struct aa_caps {
32 kernel_cap_t allow;
33 kernel_cap_t audit;
34 kernel_cap_t quiet;
35 kernel_cap_t kill;
36 kernel_cap_t extended;
37};
38
39extern struct aa_fs_entry aa_fs_entry_caps[];
39extern struct aa_sfs_entry aa_sfs_entry_caps[];
40
41int aa_capable(struct aa_profile *profile, int cap, int audit);
42
43static inline void aa_free_cap_rules(struct aa_caps *caps)
44{
45 /* NOP */
46}
47
48#endif /* __AA_CAPBILITY_H */
40
41int aa_capable(struct aa_profile *profile, int cap, int audit);
42
43static inline void aa_free_cap_rules(struct aa_caps *caps)
44{
45 /* NOP */
46}
47
48#endif /* __AA_CAPBILITY_H */