commit: 670f4d4a3a5b607bdd84d8d961871ecca4e65973
parent 7acaea6b9cf6604af64f0dbc647f23b0eb279685
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 7 May 2022 07:37:43 +0200
.local/bin/flashplayer: Add simple sandbox
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/.local/bin/flashplayer b/.local/bin/flashplayer
@@ -0,0 +1,9 @@
+#!/bin/sh -x
+
+bwrap \
+ --die-with-parent \
+ --unshare-net --unshare-user --uid 65536 --gid 65536 \
+ --ro-bind / / \
+ --proc /proc \
+ --dev /dev \
+ -- /usr/bin/flashplayer "$@"