mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00
parser: fix parser.conf commenting on pinning an abi
The comments describing the example rules to pin the abi are wrong. The comments of the two example rules are swapped resulting in confusion. While we are at it. Add a reference to the wiki doc on abi, and how to disable abi warnings without pinning. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/648 Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
parent
042a75a6a5
commit
ec19ff9f72
1 changed files with 7 additions and 2 deletions
|
@ -65,10 +65,15 @@
|
|||
### policy to be used in AppArmor 3.x without the warning
|
||||
### Warning from stdin (stdin line 1): apparmor_parser: File 'example'
|
||||
### missing feature abi, falling back to default policy feature abi.
|
||||
### For more info please see
|
||||
### https://gitlab.com/apparmor/apparmor/-/wikis/AppArmorpolicyfeaturesabi
|
||||
|
||||
### Turn off abi rule warnings without pinning the abi
|
||||
#warn=no-abi
|
||||
|
||||
### Only a single feature ABI rule should be used at a time.
|
||||
## Pin older policy to the 5.4 kernel abi
|
||||
#policy-features=/etc/apparmor.d/abi/kernel-5.4-outoftree-network
|
||||
#policy-features=/etc/apparmor.d/abi/kernel-5.4-vanilla
|
||||
|
||||
## Pin older policy to the 5.4 kernel abi + out of tree network and af_unix
|
||||
#policy-features=/etc/apparmor.d/abi/kernel-5.4-vanilla
|
||||
#policy-features=/etc/apparmor.d/abi/kernel-5.4-outoftree-network
|
||||
|
|
Loading…
Add table
Reference in a new issue