mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
Update pulseaudio
This commit is contained in:
parent
949d441cfa
commit
0d9fbff993
@ -13,6 +13,8 @@ profile pulseaudio @{exec_path} {
|
|||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
include <abstractions/audio>
|
include <abstractions/audio>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
# include <abstractions/dbus-strict>
|
||||||
|
# include <abstractions/dbus-session-strict>
|
||||||
include <abstractions/deny-root-dir-access>
|
include <abstractions/deny-root-dir-access>
|
||||||
|
|
||||||
ptrace (trace) peer=@{profile_name},
|
ptrace (trace) peer=@{profile_name},
|
||||||
@ -67,17 +69,58 @@ profile pulseaudio @{exec_path} {
|
|||||||
@{sys}/devices/system/node/ r,
|
@{sys}/devices/system/node/ r,
|
||||||
@{sys}/devices/system/node/node[0-9]/meminfo r,
|
@{sys}/devices/system/node/node[0-9]/meminfo r,
|
||||||
|
|
||||||
|
@{run}/systemd/users/@{uid} r,
|
||||||
|
|
||||||
owner @{run}/user/@{uid}/dconf/ w,
|
owner @{run}/user/@{uid}/dconf/ w,
|
||||||
owner @{run}/user/@{uid}/dconf/user rw,
|
owner @{run}/user/@{uid}/dconf/user rw,
|
||||||
|
owner @{run}/user/@{uid}/ICEauthority r,
|
||||||
@{run}/systemd/users/@{uid} r,
|
|
||||||
@{run}/user/@{uid}/ICEauthority r,
|
|
||||||
|
|
||||||
owner @{PROC}/@{pid}/fd/ r,
|
owner @{PROC}/@{pid}/fd/ r,
|
||||||
owner @{PROC}/@{pid}/stat r,
|
owner @{PROC}/@{pid}/stat r,
|
||||||
|
|
||||||
/var/lib/dbus/machine-id r,
|
# DBus
|
||||||
|
owner @{run}/user/@{uid}/systemd/notify rw,
|
||||||
|
|
||||||
|
# include?
|
||||||
|
@{run}/dbus/system_bus_socket rw,
|
||||||
|
owner @{run}/user/@{uid}/bus rw,
|
||||||
/etc/machine-id r,
|
/etc/machine-id r,
|
||||||
|
/var/lib/dbus/machine-id r,
|
||||||
|
|
||||||
|
dbus (send)
|
||||||
|
bus=session
|
||||||
|
path=/org/freedesktop/DBus
|
||||||
|
interface=org.freedesktop.DBus
|
||||||
|
member={Hello,RequestName,AddMatch,RemoveMatch,GetNameOwner,ReleaseName}
|
||||||
|
peer=(name=org.freedesktop.DBus),
|
||||||
|
|
||||||
|
dbus (send)
|
||||||
|
bus=system
|
||||||
|
path=/org/freedesktop/DBus
|
||||||
|
interface=org.freedesktop.DBus
|
||||||
|
member={Hello,AddMatch}
|
||||||
|
peer=(name=org.freedesktop.DBus),
|
||||||
|
|
||||||
|
dbus (receive)
|
||||||
|
bus=session
|
||||||
|
interface=org.freedesktop.DBus.Introspectable
|
||||||
|
member=Introspect,
|
||||||
|
|
||||||
|
dbus (bind)
|
||||||
|
bus=session
|
||||||
|
name=org.PulseAudio1,
|
||||||
|
|
||||||
|
dbus (bind)
|
||||||
|
bus=session
|
||||||
|
name=org.freedesktop.ReserveDevice1.Audio0,
|
||||||
|
|
||||||
|
dbus (send)
|
||||||
|
bus=system
|
||||||
|
path=/org/freedesktop/RealtimeKit1
|
||||||
|
member={Get,MakeThreadHighPriority,MakeThreadRealtime},
|
||||||
|
|
||||||
|
unix (send receive connect) type=stream peer=(addr=@/tmp/.X11-unix/[0-9]*),
|
||||||
|
unix (send receive connect) type=stream peer=(addr=@/tmp/.ICE-unix/[0-9]*),
|
||||||
|
|
||||||
# The orcexec.* file is JIT compiled code for various GStreamer elements.
|
# The orcexec.* file is JIT compiled code for various GStreamer elements.
|
||||||
# If one is blocked the next is used instead.
|
# If one is blocked the next is used instead.
|
||||||
@ -99,5 +142,9 @@ profile pulseaudio @{exec_path} {
|
|||||||
owner /dev/tty[0-9]* rw,
|
owner /dev/tty[0-9]* rw,
|
||||||
owner @{HOME}/.xsession-errors w,
|
owner @{HOME}/.xsession-errors w,
|
||||||
|
|
||||||
|
# Ubuntu
|
||||||
|
/var/lib/snapd/desktop/applications/ r,
|
||||||
|
/usr/{,local/}share/ubuntu/applications/{,*} r,
|
||||||
|
|
||||||
include if exists <local/pulseaudio>
|
include if exists <local/pulseaudio>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user