Skip to content

Commit

Permalink
buildFHSEnvOverlay: do additional unshare to drop capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Sep 18, 2024
1 parent dd6744c commit 81b68fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/buildFHSEnvOverlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
ldconfig &> /dev/null
${preExecHook}
exec ${runScript} "$@"
exec unshare -c -- ${runScript} "$@"
'';

init = writeShellScript "${name}-init" initCmd;
Expand Down

0 comments on commit 81b68fd

Please sign in to comment.