feat(profiles): general update.
This commit is contained in:
parent
c04363c1b6
commit
e69182e1df
9 changed files with 41 additions and 7 deletions
|
|
@ -15,6 +15,7 @@ profile tailscaled @{exec_path} {
|
|||
capability dac_read_search,
|
||||
capability mknod,
|
||||
capability net_admin,
|
||||
capability net_raw,
|
||||
capability sys_ptrace,
|
||||
|
||||
network inet dgram,
|
||||
|
|
@ -30,10 +31,14 @@ profile tailscaled @{exec_path} {
|
|||
/{usr/,}bin/ip rix,
|
||||
/{usr/,}{s,}bin/xtables-nft-multi rix,
|
||||
|
||||
/{usr/,}bin/systemctl rPx -> child-systemctl,
|
||||
/{usr/,}bin/systemctl rCx -> systemctl,
|
||||
|
||||
/etc/iproute2/rt_tables r,
|
||||
|
||||
/etc/resolv.*.conf rw,
|
||||
/etc/resolv.conf rw,
|
||||
/etc/resolv.conf.*.tmp rw,
|
||||
|
||||
owner /var/lib/tailscale/{,**} rw,
|
||||
owner @{run}/tailscale/{,**} rw,
|
||||
|
||||
|
|
@ -54,5 +59,21 @@ profile tailscaled @{exec_path} {
|
|||
|
||||
/dev/net/tun rw,
|
||||
|
||||
profile systemctl {
|
||||
include <abstractions/base>
|
||||
|
||||
capability mknod,
|
||||
capability net_admin,
|
||||
|
||||
network netlink raw,
|
||||
|
||||
ptrace (read),
|
||||
|
||||
/{usr/,}bin/systemctl mr,
|
||||
|
||||
/dev/net/tun rw,
|
||||
|
||||
}
|
||||
|
||||
include if exists <local/tailscaled>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue