summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGibeom Gwon <gb.gwon@stackframe.dev>2021-07-13 02:57:43 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-20 14:44:11 +0200
commit727a03e4826efe1392b8a1899b220e7df7976990 (patch)
tree77d358d5fa0d96338c2820afbe983fb5ca3a2d43
parent486412ad3bba4f1306597302cf66cc4858126243 (diff)
downloadsystemd-727a03e4826efe1392b8a1899b220e7df7976990.tar.gz
homed: allow systemd-homed access to FIDO2 devices
Add DeviceAllow= option for FIDO2 devices in systemd-homed.service. (cherry picked from commit 85e424c0c852fcb92d108494a6efa9dd0ce943b2)
-rw-r--r--units/systemd-homed.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-homed.service.in b/units/systemd-homed.service.in
index 678bbab65c..0576f84697 100644
--- a/units/systemd-homed.service.in
+++ b/units/systemd-homed.service.in
@@ -20,6 +20,7 @@ CapabilityBoundingSet=CAP_SYS_ADMIN CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FS
DeviceAllow=/dev/loop-control rw
DeviceAllow=/dev/mapper/control rw
DeviceAllow=block-* rw
+DeviceAllow=char-hidraw rw
ExecStart={{ROOTLIBEXECDIR}}/systemd-homed
IPAddressDeny=any
KillMode=mixed