summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/dist/tor.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/dist/tor.service.in b/contrib/dist/tor.service.in
index 2fe51c75d9..c4709a7fd6 100644
--- a/contrib/dist/tor.service.in
+++ b/contrib/dist/tor.service.in
@@ -19,6 +19,7 @@ PrivateTmp = yes
DeviceAllow = /dev/null rw
DeviceAllow = /dev/urandom r
InaccessibleDirectories = /home
+NoNewPrivileges = yes
[Install]
WantedBy = multi-user.target