apparmor.d -> profiles
This commit is contained in:
parent
c408a878b7
commit
e9b8e62fcd
726 changed files with 0 additions and 0 deletions
26
profiles/system_tor
Normal file
26
profiles/system_tor
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# vim:syntax=apparmor
|
||||
include <tunables/global>
|
||||
|
||||
profile system_tor flags=(attach_disconnected) {
|
||||
include <abstractions/tor>
|
||||
include <abstractions/openssl>
|
||||
|
||||
owner /var/lib/tor/** rwk,
|
||||
owner /var/lib/tor/ r,
|
||||
owner /var/log/tor/* w,
|
||||
|
||||
# During startup, tor (as root) tries to open various things such as
|
||||
# directories via check_private_dir(). Let it.
|
||||
/var/lib/tor/** r,
|
||||
|
||||
/{,var/}run/tor/ r,
|
||||
/{,var/}run/tor/control w,
|
||||
/{,var/}run/tor/socks w,
|
||||
/{,var/}run/tor/tor.pid w,
|
||||
/{,var/}run/tor/control.authcookie w,
|
||||
/{,var/}run/tor/control.authcookie.tmp rw,
|
||||
/{,var/}run/systemd/notify w,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include <local/system_tor>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue