mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00:00
profiles/apparmor.d/rygel: silence unneeded /{dev,sys} accesses
Signed-off-by: Alex Murray <alex.murray@canonical.com>
This commit is contained in:
@@ -22,8 +22,10 @@ profile rygel /usr/bin/rygel {
|
|||||||
include <abstractions/freedesktop.org>
|
include <abstractions/freedesktop.org>
|
||||||
include <abstractions/nameservice>
|
include <abstractions/nameservice>
|
||||||
|
|
||||||
# gst-plugin-scanner tries to probe various things and inherit fds
|
# gst-plugin-scanner tries to probe various things and inherit fds but
|
||||||
|
# explicitly deny others as they are not needed and are noisy
|
||||||
file r /dev/{,urandom,null},
|
file r /dev/{,urandom,null},
|
||||||
|
deny file /{dev,sys}/** r,
|
||||||
|
|
||||||
file r @{etc_ro}/rygel.conf,
|
file r @{etc_ro}/rygel.conf,
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user