Update AppArmorDelegation

John Johansen 2019-09-19 09:24:58 +00:00
parent 9f7983f6ae
commit d4496b1a8e

@ -182,12 +182,32 @@ If multiple permission rule sets are delegated the delegation have
each component in arbitrary order
```
bob//+policy//+father
bob//+policy//+father
```
The order of the Delegation is unimportant, the [identity](AppArmorDelegation#Identity) of the task is all of the profiles in the label.
#### task labels with delegated objects
When delegation to a task is limited to objects
```
profile example {
px /** -> bob + {
open rw /dev/pts/*,
}
}
then the task label is NOT extended by the rule set name instead a trailing ```//*``` is added.
```
bob//*
```
conjunctive normal form
(bob//&jane)//+police => bob//+police//&jane//+police