mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
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:
@ -18,6 +18,8 @@ StateDirectoryMode=0700
|
|||||||
ProtectHome=true
|
ProtectHome=true
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
|
|
||||||
|
SystemCallFilter=@system-service
|
||||||
|
|
||||||
# Network
|
# Network
|
||||||
PrivateNetwork=true
|
PrivateNetwork=true
|
||||||
RestrictAddressFamilies=AF_UNIX AF_LOCAL AF_NETLINK
|
RestrictAddressFamilies=AF_UNIX AF_LOCAL AF_NETLINK
|
||||||
|
|||||||
Reference in New Issue
Block a user