mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Merge remote-tracking branch 'candrews/issue13805'
This commit is contained in:
commit
c98e075ebc
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…
Reference in New Issue
Block a user