From 6f7e6800f3f88f654a9a668ecb574152cd1a8796 Mon Sep 17 00:00:00 2001 From: rpm-build Date: Dec 09 2020 08:47:45 +0000 Subject: 0002-systemd-Add-PrivateTmp-and-NoNewPrivileges-options.patch patch_name: 0002-systemd-Add-PrivateTmp-and-NoNewPrivileges-options.patch present_in_specfile: true location_in_specfile: 4 --- diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in index f9faaa4..7c2f60b 100644 --- a/src/bluetooth.service.in +++ b/src/bluetooth.service.in @@ -12,8 +12,14 @@ NotifyAccess=main #Restart=on-failure CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE LimitNPROC=1 + +# Filesystem lockdown ProtectHome=true ProtectSystem=full +PrivateTmp=true + +# Privilege escalation +NoNewPrivileges=true [Install] WantedBy=bluetooth.target