Add add-seccomp combinator
This combinator allows for the use of bubblewrap's `--add-seccomp-fd` option. Since multiple invocations of this combinator are allowed, this commit also introduces a new state attribute `seccompPermissions`. The implementation uses `test -x` against the given argument to decide whether to use input redirection to a FD or process substitution.
This commit is contained in:
parent
d596e0bc81
commit
23bf74dad6
3 changed files with 50 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ let
|
|||
add-path = ./combinators/add-path.nix;
|
||||
add-pkg-deps = ./combinators/add-pkg-deps.nix;
|
||||
add-runtime = ./combinators/add-runtime.nix;
|
||||
add-seccomp = ./combinators/add-seccomp.nix;
|
||||
base = ./combinators/base.nix;
|
||||
bind-nix-store-runtime-closure = ./combinators/bind-nix-store-runtime-closure.nix;
|
||||
bind-pkg = ./combinators/bind-pkg.nix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue