nixos/nfc-nci: Adjust pcscd system call hardening
This commit is contained in:
@@ -185,6 +185,11 @@ in
|
||||
"nxp-pn5xx"
|
||||
];
|
||||
|
||||
# libnfc-nci calls sched_setscheduler via pthread_setschedparam, which would be blocked by upstream SystemCallFilter=~@resources
|
||||
systemd.services.pcscd.serviceConfig.SystemCallFilter = lib.mkIf cfg.enableIFD [
|
||||
"sched_setscheduler"
|
||||
];
|
||||
|
||||
services.pcscd.readerConfigs = lib.mkIf cfg.enableIFD [
|
||||
''
|
||||
FRIENDLYNAME "NFC NCI"
|
||||
|
||||
Reference in New Issue
Block a user