feat(profile): systemd-networkd: update cap.
This commit is contained in:
parent
161078ed90
commit
d8d4ec11a6
1 changed files with 5 additions and 1 deletions
|
|
@ -14,10 +14,12 @@ profile systemd-networkd @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/bus/org.freedesktop.hostname1>
|
||||
include <abstractions/common/systemd>
|
||||
|
||||
capability bpf,
|
||||
capability net_admin,
|
||||
capability net_bind_service,
|
||||
capability net_broadcast,
|
||||
capability net_raw,
|
||||
capability sys_admin,
|
||||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
|
|
@ -61,12 +63,14 @@ profile systemd-networkd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{run}/udev/data/n@{int} r,
|
||||
|
||||
@{sys}/devices/@{pci}/ r,
|
||||
@{sys}/devices/@{pci}/rfkill@{int}/* r,
|
||||
@{sys}/devices/**/net/** r,
|
||||
@{sys}/devices/@{pci}/ r,
|
||||
@{sys}/devices/virtual/dmi/id/{sys,board,bios}_vendor r,
|
||||
@{sys}/devices/virtual/dmi/id/product_name r,
|
||||
@{sys}/devices/virtual/dmi/id/product_version r,
|
||||
@{sys}/fs/cgroup/ r,
|
||||
@{sys}/kernel/btf/vmlinux r,
|
||||
|
||||
@{PROC}/@{pid}/cgroup r,
|
||||
@{PROC}/pressure/* r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue