UBUNTU: SAUCE: apparmor4.0.0 [86/90]: apparmor: add ability to mediate caps with policy state machine
BugLink: http://bugs.launchpad.net/bugs/2028253 Currently the caps encoding is very limited. Allow capabilities to be mediated by the state machine. This will allow us to add conditionals to capabilities that aren't possible with the current encoding. Signed-off-by: John Johansen <john.johansen@canonical.com> (cherry picked from commit bb78e87633afdf5e4b7dc0b2c857f61e97369068 https://git.launchpad.net/~apparmor-dev/ubuntu-kernel-next) Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
43a6c29532
commit
06bb02860a
@@ -36,6 +36,7 @@ struct aa_caps {
|
||||
|
||||
extern struct aa_sfs_entry aa_sfs_entry_caps[];
|
||||
|
||||
kernel_cap_t aa_profile_capget(struct aa_profile *profile);
|
||||
int aa_capable(const struct cred *subj_cred, struct aa_label *label,
|
||||
int cap, unsigned int opts);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user