feat(abs): bwrap: add special mount rule for debian.
This commit is contained in:
parent
8fe2bf4c20
commit
08a1aba39d
1 changed files with 5 additions and 3 deletions
|
|
@ -2,10 +2,9 @@
|
||||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
# Minimal set of rules for bwrap
|
# A minimal set of rules for sandboxed programs using bwrap.
|
||||||
|
|
||||||
# A profile using this abstraction still needs to set:
|
# A profile using this abstraction still needs to set:
|
||||||
# - the attach_disconnected flag
|
# - the flag: attach_disconnected
|
||||||
# - bwrap execution: '@{bin}/bwrap rix,'
|
# - bwrap execution: '@{bin}/bwrap rix,'
|
||||||
|
|
||||||
# userns,
|
# userns,
|
||||||
|
|
@ -31,6 +30,9 @@
|
||||||
umount /,
|
umount /,
|
||||||
umount /oldroot/,
|
umount /oldroot/,
|
||||||
|
|
||||||
|
#aa:only debian whonix
|
||||||
|
mount -> /newroot/{,**}, # Debian does not support the remount rule.
|
||||||
|
|
||||||
pivot_root oldroot=/newroot/ /newroot/,
|
pivot_root oldroot=/newroot/ /newroot/,
|
||||||
pivot_root oldroot=/tmp/oldroot/ /tmp/,
|
pivot_root oldroot=/tmp/oldroot/ /tmp/,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue