diff options
author | 2018-05-03 00:39:58 -0700 | |
---|---|---|
committer | 2018-06-07 01:50:48 -0700 | |
commit | 2ab47dae54d567bbb1ad3e96e5b2601cc13f4d2b (patch) | |
tree | 74701da99807b936cf7fb7474fcd38dacf140ef8 /drivers/pwm/pwm-stm32.c | |
parent | apparmor: Add support for audit rule filtering (diff) | |
download | linux-dev-2ab47dae54d567bbb1ad3e96e5b2601cc13f4d2b.tar.xz linux-dev-2ab47dae54d567bbb1ad3e96e5b2601cc13f4d2b.zip |
apparmor: modify audit rule support to support profile stacks
Allows for audit rules, where a rule could specify a profile stack
A//&B, while extending the current semantic so if the label specified
in the audit rule is a subset of the secid it is considered a match.
Eg. if the secid resolves to the label stack A//&B//&C
Then an audit rule specifying a label of
A - would match
B - would match
C - would match
D - would not
A//&B - would match as a subset
A//&C - would match as a subset
B//&C - would match as a subset
A//&B//&C - would match
A//&D - would not match, because while A does match, D is also
specified and does not
Note: audit rules are currently assumed to be coming from the root
namespace.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions