libgpiod: fix sandboxing

This commit is contained in:
2024-10-29 09:40:02 +00:00
parent f110e71011
commit c8210da075

View File

@@ -778,7 +778,7 @@ in
libcap_ng.sandbox.enable = false; # TODO: `pscap` can sandbox with bwrap, `captest` and `netcap` with landlock
libgpiod.sandbox.extraPaths = [
# "/dev" # really, /dev/gpiochip*
"/dev" # really, /dev/gpiochip*
"/sys/bus/gpio"
"/sys/dev/char"
"/sys/devices"