mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40: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
|
# Hardening
|
||||||
PrivateTmp = yes
|
PrivateTmp = yes
|
||||||
DeviceAllow = /dev/null rw
|
PrivateDevices = yes
|
||||||
DeviceAllow = /dev/urandom r
|
ProtectHome = yes
|
||||||
InaccessibleDirectories = /home
|
ProtectSystem = full
|
||||||
ReadOnlyDirectories = /
|
ReadOnlyDirectories = /
|
||||||
ReadWriteDirectories = @LOCALSTATEDIR@/lib/tor
|
ReadWriteDirectories = -@LOCALSTATEDIR@/lib/tor
|
||||||
ReadWriteDirectories = @LOCALSTATEDIR@/log/tor
|
ReadWriteDirectories = -@LOCALSTATEDIR@/log/tor
|
||||||
ReadWriteDirectories = @LOCALSTATEDIR@/run/tor
|
ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor
|
||||||
NoNewPrivileges = yes
|
NoNewPrivileges = yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Add table
Reference in a new issue