mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 22:25:51 +01:00
Merge remote-tracking branch 'candrews/issue13805'
This commit is contained in:
commit
c98e075ebc
1 changed files with 6 additions and 6 deletions
12
contrib/dist/tor.service.in
vendored
12
contrib/dist/tor.service.in
vendored
|
@ -16,13 +16,13 @@ LimitNOFILE = 32768
|
|||
|
||||
# Hardening
|
||||
PrivateTmp = yes
|
||||
DeviceAllow = /dev/null rw
|
||||
DeviceAllow = /dev/urandom r
|
||||
InaccessibleDirectories = /home
|
||||
PrivateDevices = yes
|
||||
ProtectHome = yes
|
||||
ProtectSystem = full
|
||||
ReadOnlyDirectories = /
|
||||
ReadWriteDirectories = @LOCALSTATEDIR@/lib/tor
|
||||
ReadWriteDirectories = @LOCALSTATEDIR@/log/tor
|
||||
ReadWriteDirectories = @LOCALSTATEDIR@/run/tor
|
||||
ReadWriteDirectories = -@LOCALSTATEDIR@/lib/tor
|
||||
ReadWriteDirectories = -@LOCALSTATEDIR@/log/tor
|
||||
ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor
|
||||
NoNewPrivileges = yes
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Add table
Reference in a new issue