blast-ugjka: sandbox with bunpen
This commit is contained in:
@@ -24,7 +24,7 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
sane.programs.blast-ugjka = {
|
sane.programs.blast-ugjka = {
|
||||||
sandbox.method = "bwrap";
|
sandbox.method = "bunpen";
|
||||||
sandbox.whitelistAudio = true;
|
sandbox.whitelistAudio = true;
|
||||||
sandbox.net = "clearnet";
|
sandbox.net = "clearnet";
|
||||||
};
|
};
|
||||||
@@ -36,12 +36,13 @@ in
|
|||||||
pkgs = [ "blast-ugjka" ];
|
pkgs = [ "blast-ugjka" ];
|
||||||
srcRoot = ./.;
|
srcRoot = ./.;
|
||||||
};
|
};
|
||||||
sandbox.method = "bwrap";
|
sandbox.method = "bunpen";
|
||||||
sandbox.whitelistAudio = true;
|
sandbox.whitelistAudio = true;
|
||||||
sandbox.net = "clearnet";
|
sandbox.net = "clearnet";
|
||||||
#v else it fails to reap its children (or, maybe, it fails to hook its parent's death signal?)
|
#v else it fails to reap its children (or, maybe, it fails to hook its parent's death signal?)
|
||||||
#v might be possible to remove this, but kinda hard to see a clean way.
|
#v might be possible to remove this, but kinda hard to see a clean way.
|
||||||
sandbox.isolatePids = false;
|
sandbox.isolatePids = false;
|
||||||
|
sandbox.extraPaths = [ "/proc" ]; #< for isolatePids
|
||||||
suggestedPrograms = [ "blast-ugjka" "sane-die-with-parent" ];
|
suggestedPrograms = [ "blast-ugjka" "sane-die-with-parent" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user