data: Restrict syscall usage of fprintd

fprintd only needs very few syscalls. Mainly normal IO operations and
ioctl for USB access. All of this is covered by @system-service, we
could likely restrict it quite a bit more though.
This commit is contained in:
Benjamin Berg
2021-06-29 21:10:59 +02:00
parent 0f7340130e
commit 7aecec1449

View File

@ -18,6 +18,8 @@ StateDirectoryMode=0700
ProtectHome=true
PrivateTmp=true
SystemCallFilter=@system-service
# Network
PrivateNetwork=true
RestrictAddressFamilies=AF_UNIX AF_LOCAL AF_NETLINK