mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Use PrivateDevices instead of DeviceAllow
See 13805
This commit is contained in:
Vendored
+1
-2
@@ -16,8 +16,7 @@ LimitNOFILE = 32768
|
||||
|
||||
# Hardening
|
||||
PrivateTmp = yes
|
||||
DeviceAllow = /dev/null rw
|
||||
DeviceAllow = /dev/urandom r
|
||||
PrivateDevices = yes
|
||||
InaccessibleDirectories = /home
|
||||
ReadOnlyDirectories = /
|
||||
ReadWriteDirectories = @LOCALSTATEDIR@/lib/tor
|
||||
|
||||
Reference in New Issue
Block a user