feat(profiles): general update.
This commit is contained in:
parent
c0e62f30bb
commit
23642eb0be
14 changed files with 39 additions and 18 deletions
|
|
@ -13,12 +13,11 @@ profile ip @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/consoles>
|
||||
|
||||
capability net_admin,
|
||||
capability sys_admin,
|
||||
capability sys_module,
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mrix,
|
||||
|
||||
mount options=(rw, rshared) -> /{var/,}run/netns/,
|
||||
mount options=(rw, rslave) -> /,
|
||||
mount options=(rw, bind) / -> /{var/,}run/netns/*,
|
||||
|
|
@ -28,12 +27,15 @@ profile ip @{exec_path} flags=(attach_disconnected) {
|
|||
umount @{run}/netns/*,
|
||||
umount /sys/,
|
||||
|
||||
/etc/iproute2/{,**} r,
|
||||
@{exec_path} mrix,
|
||||
|
||||
/ r,
|
||||
|
||||
/etc/iproute2/{,**} r,
|
||||
/etc/netns/*/ r,
|
||||
|
||||
owner @{run}/netns/ rw,
|
||||
@{run}/netns/* rw,
|
||||
/etc/netns/*/ r,
|
||||
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
owner @{PROC}/@{pid}/net/dev_mcast r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue