libgpiod (e.g. gpioinfo): sandbox
This commit is contained in:
@@ -777,7 +777,12 @@ in
|
||||
|
||||
libcap_ng.sandbox.enable = false; # TODO: `pscap` can sandbox with bwrap, `captest` and `netcap` with landlock
|
||||
|
||||
libgpiod.sandbox.method = null; #< TODO: sandbox
|
||||
libgpiod.sandbox.extraPaths = [
|
||||
# "/dev" # really, /dev/gpiochip*
|
||||
"/sys/bus/gpio"
|
||||
"/sys/dev/char"
|
||||
"/sys/devices"
|
||||
];
|
||||
|
||||
libnotify.sandbox.whitelistDbus = [ "user" ]; # notify-send
|
||||
|
||||
|
Reference in New Issue
Block a user