2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-29 13:28:19 +00:00

zgrep profile: also allow zstd

openSUSE works on extending zgrep to also support zstd-compressed files.

References: http://bugzilla.opensuse.org/show_bug.cgi?id=1198922
This commit is contained in:
Christian Boltz 2022-04-27 22:15:17 +02:00
parent c7d060a7dd
commit c5a51a080f
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

View File

@ -29,6 +29,7 @@ profile zgrep /usr/bin/{x,}zgrep {
/usr/bin/xz Cx -> helper,
/usr/bin/xzgrep r,
/usr/bin/zgrep Cx -> helper,
/usr/bin/zstd Cx -> helper,
owner /tmp/zgrep* rw,
/usr/bin/zgrep r,
@ -45,6 +46,7 @@ profile zgrep /usr/bin/{x,}zgrep {
/usr/bin/grep mr,
/usr/bin/gzip mr,
/usr/bin/xz mr,
/usr/bin/zstd mr,
/{,**} r,
}