apparmor: [dhcpcd] give the read access to every net uevent

This commit is contained in:
Andrea Brancaleoni 2018-07-04 11:04:05 +02:00
parent 4474ee955a
commit 03319a61c3
2 changed files with 2 additions and 3 deletions

View File

@ -29,8 +29,7 @@ profile dhcpcd /{usr/,}bin/dhcpcd {
/{var/,}run/dhcpcd.unpriv.sock rw, /{var/,}run/dhcpcd.unpriv.sock rw,
/{var/,}run/udev/data/* r, /{var/,}run/udev/data/* r,
/sys/devices/**/net/eth*/uevent r, /sys/devices/**/net/*/uevent r,
/sys/devices/virtual/net/*/uevent r,
/{usr/,}bin/dash ix, /{usr/,}bin/dash ix,
/{usr/,}bin/dash mrix, /{usr/,}bin/dash mrix,

View File

@ -1,7 +1,7 @@
# Template file for 'apparmor' # Template file for 'apparmor'
pkgname=apparmor pkgname=apparmor
version=2.13.0 version=2.13.0
revision=3 revision=4
_short_ver=${version%\.*} _short_ver=${version%\.*}
wrksrc="${pkgname}-v${_short_ver}" wrksrc="${pkgname}-v${_short_ver}"
configure_args="--prefix=/usr --with-perl --with-python" configure_args="--prefix=/usr --with-perl --with-python"