James Troup has proposed merging lp:~elmo/apparmor-profiles/worldofgoo into 
lp:apparmor-profiles.

Requested reviews:
  AppArmor Developers (apparmor-dev)

For more details, see:
https://code.launchpad.net/~elmo/apparmor-profiles/worldofgoo/+merge/86128

Add a profile for World of Goo
-- 
https://code.launchpad.net/~elmo/apparmor-profiles/worldofgoo/+merge/86128
Your team AppArmor Developers is requested to review the proposed merge of 
lp:~elmo/apparmor-profiles/worldofgoo into lp:apparmor-profiles.
=== added file 'ubuntu/11.10/opt.WorldOfGoo.WorldOfGoo'
--- ubuntu/11.10/opt.WorldOfGoo.WorldOfGoo	1970-01-01 00:00:00 +0000
+++ ubuntu/11.10/opt.WorldOfGoo.WorldOfGoo	2011-12-17 00:09:24 +0000
@@ -0,0 +1,41 @@
+# vim:syntax=apparmor
+# Author: James Troup <[email protected]>
+
+#include <tunables/global>
+
+/opt/WorldOfGoo/WorldOfGoo {
+  #include <abstractions/base>
+  #include <abstractions/X>
+  #include <abstractions/audio>
+  #include <abstractions/dbus-session>
+
+  # For the wrapper script
+  /bin/dash ix,
+  /bin/readlink rix,
+  /bin/uname rix,
+  /usr/bin/dirname rix,
+
+  # The game itself
+  /opt/WorldOfGoo/** r,
+  /opt/WorldOfGoo/WorldOfGoo.bin32 rix,
+  /opt/WorldOfGoo/WorldOfGoo.bin64 rix,
+
+  /usr/bin/gnome-screensaver-command rix,
+
+  @{HOME}/.WorldOfGoo/** rw,
+
+  /etc/timidity/freepats.cfg r,
+
+  @{PROC}/[0-9]*/cmdline r,
+  @{PROC}/[0-9]*/statm r,
+  @{PROC}/filesystems r,
+
+  # World of Goo seems to like to mmap files more than some of the
+  # abstractions allow for...
+  /run/shm/pulse-shm-* mr,
+  /usr/share/locale-langpack/** mr,
+  /dev/dri/card0 mrw,
+
+  # https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/904548
+  /usr/lib/@{multiarch}/gconv/gconv-modules* mr,
+}

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to