diff --git a/apparmor.d/groups/network/dhcpcd b/apparmor.d/groups/network/dhcpcd index 96a524bf..e58db055 100644 --- a/apparmor.d/groups/network/dhcpcd +++ b/apparmor.d/groups/network/dhcpcd @@ -42,13 +42,13 @@ profile dhcpcd @{exec_path} flags=(attach_disconnected) { @{PROC}/@{pid}/stat r, @{PROC}/sys/kernel/hostname r, @{PROC}/sys/net/ipv{4,6}/conf/** r, - @{PROC}/sys/net/ipv{4,6}/conf/@{hex}/accept_ra rw, - @{PROC}/sys/net/ipv{4,6}/conf/@{hex}/hop_limit w, - @{PROC}/sys/net/ipv{4,6}/neigh/@{hex}/{base_reachable_time_ms,retrans_time_ms} w, + @{PROC}/sys/net/ipv{4,6}/conf/*/accept_ra rw, + @{PROC}/sys/net/ipv{4,6}/conf/*/hop_limit w, + @{PROC}/sys/net/ipv{4,6}/neigh/*/{base_reachable_time_ms,retrans_time_ms} w, @{etc_ro}/dhcpcd.conf r, @{etc_rw}/resolv.conf rw, - @{run}/dhcpcd/@{hex}.pid wk, - @{run}/dhcpcd/@{hex}.sock w, + @{run}/dhcpcd/*.pid wk, + @{run}/dhcpcd/*.sock w, @{run}/dhcpcd/hook-state/ rw, @{run}/dhcpcd/hook-state/resolv.conf.*.{dhcp,link} rw, @{run}/dhcpcd/hook-state/resolv.conf/ rw,