[apparmor] [patch] profiles - adjust pusleaudio in abstraction

Steve Beattie steve at nxnw.org
Wed Jan 9 22:33:42 UTC 2013


Hi,

I was testing out a profile for pulseaudio and hit an issue where my
pulseaudio process was getting the firefox profile applied to it. This
is because in abstractions/ubuntu-browsers.d/multimedia the rule for
pulseaudio is /usr/bin/pulseaudio ixr; attached is a patch to change it
to Pixr, so as to use a global pulseaudio policy if it exists.

Nominated for both trunk and 2.8.

Thanks!

=== modified file 'profiles/apparmor.d/abstractions/ubuntu-browsers.d/multimedia'
--- profiles/apparmor.d/abstractions/ubuntu-browsers.d/multimedia	2013-01-02 22:39:45 +0000
+++ profiles/apparmor.d/abstractions/ubuntu-browsers.d/multimedia	2013-01-09 22:20:09 +0000
@@ -6,7 +6,7 @@
   #include <abstractions/X>
 
   # Pulseaudio
-  /usr/bin/pulseaudio ixr,
+  /usr/bin/pulseaudio Pixr,
 
   # Image viewers
   /usr/bin/eog Cxr -> sanitized_helper,

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20130109/12636380/attachment.pgp>


More information about the AppArmor mailing list