Files
chandra/face/polkit-agent-helper.conf
nandi 74235cb0ca
CI / test (push) Canceled after 0s
Add backlight control to the shell and regenerate WIT bindings
- Add compositor/shell/backlight.mbt for backlight control in the shell
- Update wit/capabilities.wit and wit/host/plasmoids.wit, then regenerate the component and interface ffi.mbt bindings (mostly export reordering)
- Add world/launcher-widget/README.md
2026-11-28 02:16:07 -08:00

16 lines
667 B
Plaintext

# Installed by Chandra's face unlock (face/install.py) as
# /etc/systemd/system/polkit-agent-helper@.service.d/50-chandra-face.conf
#
# polkit runs PAM for the password dialog (run0, pkexec) in this unit. Its PrivateDevices=yes
# gives it a /dev with no cameras, so pam_chandra_face.so could never see one there.
[Service]
PrivateDevices=no
# Of the real /dev, only the standard pseudo devices and cameras (V4L2, media, dma_heap) can be opened.
DevicePolicy=closed
DeviceAllow=char-video4linux rw
DeviceAllow=char-media rw
DeviceAllow=char-dma_heap rw
# What PrivateDevices=yes also did, kept.
CapabilityBoundingSet=~CAP_MKNOD CAP_SYS_RAWIO
SystemCallFilter=~@raw-io