2010-12-21 12:53:33 -06:00
|
|
|
# vim:syntax=apparmor
|
2012-01-11 09:00:35 +01:00
|
|
|
# Users of this abstraction need to #include the ubuntu-helpers abstraction
|
|
|
|
# in the toplevel profile. Eg:
|
|
|
|
# #include <abstractions/ubuntu-helpers>
|
2010-12-21 12:53:33 -06:00
|
|
|
|
2010-08-11 09:58:34 -05:00
|
|
|
#include <abstractions/X>
|
|
|
|
|
2010-08-06 16:01:57 -05:00
|
|
|
# Pulseaudio
|
2013-01-09 15:12:06 -08:00
|
|
|
/usr/bin/pulseaudio Pixr,
|
2010-08-06 16:01:57 -05:00
|
|
|
|
|
|
|
# Image viewers
|
2012-01-10 20:54:38 +01:00
|
|
|
/usr/bin/eog Cxr -> sanitized_helper,
|
|
|
|
/usr/bin/gimp* Cxr -> sanitized_helper,
|
|
|
|
/usr/bin/shotwell Cxr -> sanitized_helper,
|
|
|
|
/usr/bin/digikam Cxr -> sanitized_helper,
|
|
|
|
/usr/bin/f-spot Cxr -> sanitized_helper,
|
|
|
|
/usr/bin/gwenview Cxr -> sanitized_helper,
|
2010-08-06 16:01:57 -05:00
|
|
|
|
|
|
|
#include <abstractions/ubuntu-media-players>
|
2018-08-08 19:28:25 -04:00
|
|
|
owner @{HOME}/.adobe/ w,
|
2018-08-08 19:29:20 -04:00
|
|
|
owner @{HOME}/.adobe/** rw,
|
2018-08-08 19:28:25 -04:00
|
|
|
owner @{HOME}/.macromedia/ w,
|
2010-08-06 16:01:57 -05:00
|
|
|
owner @{HOME}/.macromedia/** rw,
|
|
|
|
/opt/real/RealPlayer/mozilla/nphelix.so rm,
|
2012-01-10 20:54:38 +01:00
|
|
|
/usr/bin/lpstat Cxr -> sanitized_helper,
|
|
|
|
/usr/bin/lpr Cxr -> sanitized_helper,
|
2010-08-06 16:01:57 -05:00
|
|
|
|
|
|
|
# npviewer
|
|
|
|
/usr/lib/nspluginwrapper/i386/linux/npviewer{,.bin} ixr,
|
|
|
|
/var/lib/ r,
|
|
|
|
/var/lib/**/*.so mr,
|
|
|
|
/usr/bin/setarch ixr,
|
|
|
|
|
|
|
|
# Bittorrent clients
|
|
|
|
#include <abstractions/ubuntu-bittorrent-clients>
|
|
|
|
|
|
|
|
# Mozplugger
|
|
|
|
/etc/mozpluggerrc r,
|
2012-01-10 20:54:38 +01:00
|
|
|
/usr/bin/mozplugger-helper Cxr -> sanitized_helper,
|
2010-08-06 16:01:57 -05:00
|
|
|
|
|
|
|
# Archivers
|
2012-01-10 20:54:38 +01:00
|
|
|
/usr/bin/ark Cxr -> sanitized_helper,
|
|
|
|
/usr/bin/file-roller Cxr -> sanitized_helper,
|
|
|
|
/usr/bin/xarchiver Cxr -> sanitized_helper,
|
2010-08-06 16:01:57 -05:00
|
|
|
/usr/local/lib{,32,64}/*.so* mr,
|
|
|
|
|
2010-08-11 09:58:34 -05:00
|
|
|
# News feed readers
|
|
|
|
#include <abstractions/ubuntu-feed-readers>
|
2010-09-08 08:51:06 -05:00
|
|
|
|
|
|
|
# Googletalk
|
|
|
|
/opt/google/talkplugin/*.so mr,
|
|
|
|
/opt/google/talkplugin/lib/*.so mr,
|
|
|
|
/opt/google/talkplugin/GoogleTalkPlugin ixr,
|
|
|
|
owner @{HOME}/.config/google-googletalkplugin/** rw,
|
2012-01-03 17:24:04 -06:00
|
|
|
|
2013-01-02 14:39:45 -08:00
|
|
|
# If we allow the above, nvidia based systems will also need this
|
|
|
|
#include <abstractions/nvidia>
|
2012-01-03 17:50:00 -06:00
|
|
|
|
|
|
|
# Virus scanners
|
2012-01-10 20:54:38 +01:00
|
|
|
/usr/bin/clamscan Cx -> sanitized_helper,
|
2014-02-13 17:17:46 -08:00
|
|
|
|
|
|
|
# gxine (LP: #1057642)
|
|
|
|
/var/lib/xine/gxine.desktop r,
|
2017-02-17 20:42:19 +00:00
|
|
|
|
|
|
|
# For WebRTC camera access (LP: #1665535)
|
|
|
|
/dev/video[0-9]* rw,
|