AppArmor: silence denied access to /sys/devices/virtual/block/*/uevent.

I've not found any security-related usage of this kernel interface in the Tor
Browser source tree, and the browser seems to work just fine without having
access to it, so let's make AppArmor silently deny it.

Note that this doesn't change any existing behaviour: only logging is affected.
This commit is contained in:
intrigeri 2015-01-29 16:11:57 +00:00
parent 283fdf1e0e
commit 83f749f0d7

View File

@ -65,6 +65,7 @@
/sys/devices/system/cpu/ r,
/sys/devices/system/cpu/present r,
deny /sys/devices/virtual/block/*/uevent r,
# Should use abstractions/gstreamer instead once merged upstream
/etc/udev/udev.conf r,