2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 05:47:59 +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
No known key found for this signature in database
GPG Key ID: F498D2D9DE7DAD9C

View File

@ -22,8 +22,10 @@ profile rygel /usr/bin/rygel {
include <abstractions/freedesktop.org>
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},
deny file /{dev,sys}/** r,
file r @{etc_ro}/rygel.conf,