mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
Merge profiles: add brave browser to the snap_browsers abstraction
Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com> MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1137 Approved-by: Christian Boltz <apparmor@cboltz.de> Merged-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
@@ -33,11 +33,7 @@ profile snap_browsers {
|
|||||||
/sys/kernel/security/apparmor/features/ r,
|
/sys/kernel/security/apparmor/features/ r,
|
||||||
|
|
||||||
# allow launching official browser snaps.
|
# allow launching official browser snaps.
|
||||||
/snap/chromium/[0-9]*/meta/{snap.yaml,hooks/} r,
|
/snap/{brave,chromium,firefox,opera}/[0-9]*/meta/{snap.yaml,hooks/} r,
|
||||||
/snap/firefox/[0-9]*/meta/{snap.yaml,hooks/} r,
|
/var/lib/snapd/sequence/{brave,chromium,firefox,opera}.json r,
|
||||||
/snap/opera/[0-9]*/meta/{snap.yaml,hooks/} r,
|
/var/lib/snapd/inhibit/{brave,chromium,firefox,opera}.lock rk,
|
||||||
|
|
||||||
/var/lib/snapd/sequence/{chromium,firefox,opera}.json r,
|
|
||||||
/var/lib/snapd/inhibit/{chromium,firefox,opera}.lock rk,
|
|
||||||
# add other browsers here
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user