2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-21 17:47:10 +00:00

Deduplicate example rules in apparmor.d manpage

foo.pid is also matched by foo.* (which has broader permissions)

Reported in https://gitlab.com/apparmor/apparmor/-/work_items/524#note_2555705082
This commit is contained in:
Christian Boltz 2025-06-11 14:34:20 +02:00
parent 2d58858c27
commit fbea9f00df
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

View File

@ -2182,7 +2182,6 @@ An example AppArmor profile:
/lib/lib*.so* r,
/proc/[0-9]** r,
/usr/lib/** r,
/tmp/foo.pid wr,
/tmp/foo.* lrw,
@{HOME}/.foo_file rw,
/usr/bin/baz Cx -> baz,