2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 22:35:35 +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:
Alex Murray
2024-12-10 12:00:13 +10:30
parent 46d994ddcd
commit 29e00fe11f

View File

@@ -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,