Explorar o código

Use PrivateDevices instead of DeviceAllow

See 13805
Craig Andrews %!s(int64=9) %!d(string=hai) anos
pai
achega
1ac3b74405
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      contrib/dist/tor.service.in

+ 1 - 2
contrib/dist/tor.service.in

@@ -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