data: Only allow access to USB and SPI devices

That is all that fprintd. Note that ProtectClock already restricts
device access and other device types need to be listed explicitly
because of this.
This commit is contained in:
Benjamin Berg
2021-06-29 20:48:16 +02:00
parent 00629fc374
commit fcd7e9bc76

View File

@ -32,3 +32,8 @@ RestrictRealtime=true
# Privilege escalation
NoNewPrivileges=true
# Protect clock, allow USB and SPI device access
ProtectClock=yes
DeviceAllow=char-usb_device rw
DeviceAllow=char-spi rw