feat(profile): add torbrowser-updater.
This commit is contained in:
parent
eeb990a934
commit
c84b48b0b4
1 changed files with 28 additions and 0 deletions
28
apparmor.d/groups/whonix/torbrowser-updater
Normal file
28
apparmor.d/groups/whonix/torbrowser-updater
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{lib_dirs} = @{HOME}/.tb/tor-browser/Browser/
|
||||||
|
|
||||||
|
@{exec_path} = @{lib_dirs}/updater
|
||||||
|
profile torbrowser-updater @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/desktop>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{lib_dirs}/*.so mr,
|
||||||
|
@{lib_dirs}/firefox{,.real} rPx,
|
||||||
|
|
||||||
|
owner @{lib_dirs}/{,**} rw,
|
||||||
|
|
||||||
|
owner @{tmp}/#@{int} rw,
|
||||||
|
|
||||||
|
deny owner @{lib_dirs}/Downloads/** rw,
|
||||||
|
|
||||||
|
include if exists <local/torbrowser-updater>
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue