mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 13:58:22 +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:
@@ -29,6 +29,7 @@ profile zgrep /usr/bin/{x,}zgrep {
|
|||||||
/usr/bin/xz Cx -> helper,
|
/usr/bin/xz Cx -> helper,
|
||||||
/usr/bin/xzgrep r,
|
/usr/bin/xzgrep r,
|
||||||
/usr/bin/zgrep Cx -> helper,
|
/usr/bin/zgrep Cx -> helper,
|
||||||
|
/usr/bin/zstd Cx -> helper,
|
||||||
owner /tmp/zgrep* rw,
|
owner /tmp/zgrep* rw,
|
||||||
/usr/bin/zgrep r,
|
/usr/bin/zgrep r,
|
||||||
|
|
||||||
@@ -45,6 +46,7 @@ profile zgrep /usr/bin/{x,}zgrep {
|
|||||||
/usr/bin/grep mr,
|
/usr/bin/grep mr,
|
||||||
/usr/bin/gzip mr,
|
/usr/bin/gzip mr,
|
||||||
/usr/bin/xz mr,
|
/usr/bin/xz mr,
|
||||||
|
/usr/bin/zstd mr,
|
||||||
/{,**} r,
|
/{,**} r,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user