From 03319a61c3cac104ed371642f764f6373b376f85 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Wed, 4 Jul 2018 11:04:05 +0200 Subject: [PATCH] apparmor: [dhcpcd] give the read access to every net uevent --- srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd | 3 +-- srcpkgs/apparmor/template | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd b/srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd index d34d6644918..92f3792487c 100644 --- a/srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd +++ b/srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd @@ -29,8 +29,7 @@ profile dhcpcd /{usr/,}bin/dhcpcd { /{var/,}run/dhcpcd.unpriv.sock rw, /{var/,}run/udev/data/* r, - /sys/devices/**/net/eth*/uevent r, - /sys/devices/virtual/net/*/uevent r, + /sys/devices/**/net/*/uevent r, /{usr/,}bin/dash ix, /{usr/,}bin/dash mrix, diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template index 1cce3572211..499d8309957 100644 --- a/srcpkgs/apparmor/template +++ b/srcpkgs/apparmor/template @@ -1,7 +1,7 @@ # Template file for 'apparmor' pkgname=apparmor version=2.13.0 -revision=3 +revision=4 _short_ver=${version%\.*} wrksrc="${pkgname}-v${_short_ver}" configure_args="--prefix=/usr --with-perl --with-python"