General update
Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
This commit is contained in:
parent
40b171ee94
commit
4c5a21145a
26 changed files with 227 additions and 15 deletions
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
|||
profile ip @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability bpf,
|
||||
capability net_admin,
|
||||
|
|
@ -19,7 +20,7 @@ profile ip @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
network netlink raw,
|
||||
|
||||
mount options=(rw, rshared) -> /{var/,}run/netns/,
|
||||
mount options=(rw, bind, rshared) -> /{var/,}run/netns/,
|
||||
mount options=(rw, rslave) -> /,
|
||||
mount options=(rw, bind) / -> /{var/,}run/netns/*,
|
||||
mount options=(rw, bind) /etc/netns/firefox/resolv.conf -> /etc/resolv.conf,
|
||||
|
|
@ -36,6 +37,7 @@ profile ip @{exec_path} flags=(attach_disconnected) {
|
|||
/etc/iproute2/{,**} r,
|
||||
/etc/netns/*/ r,
|
||||
|
||||
owner @{run}/netns/ rwk,
|
||||
@{run}/netns/* rw,
|
||||
owner @{run}/netns/ rw,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue