SHARE
TWEET

Skype Apparmor Profile -- ONLY to remove panel icon

a guest Jun 12th, 2012 1,416 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Last Modified: Tue Jun 12 03:49:49 2012 by izx
  2. # REPOSITORY: http://apparmor.test.opensuse.org/backend/api draglor 53
  3. # Additional profiling based on work by Андрей Калинин, LP: #226624
  4.  
  5. # Extremely simple profile for Skype designed ONLY to remove its panel
  6. # icon on Ubuntu 12.04 by disabling access to the sni-qt library
  7. # THIS PROFILE DOES NOT PROVIDE ANY OTHER KIND OF SECURITY
  8.  
  9. #include <tunables/global>
  10.  
  11. /usr/bin/skype {
  12.   #include <abstractions/X>
  13.   #include <abstractions/audio>
  14.   #include <abstractions/base>
  15.   #include <abstractions/dbus-session>
  16.   #include <abstractions/fonts>
  17.   #include <abstractions/freedesktop.org>
  18.   #include <abstractions/kde>
  19.   #include <abstractions/nameservice>
  20.   #include <abstractions/nvidia>
  21.   #include <abstractions/user-tmp>
  22.  
  23.   # deny read access to the sni-qt libraries, thus removing the panel icon
  24.   deny /usr/lib/i386-linux-gnu/qt4/plugins/systemtrayicon/libsni-qt.so r,
  25.   deny /usr/lib/x86_64-linux-gnu/qt4/plugins/systemtrayicon/libsni-qt.so r,
  26.  
  27.   /** mrwkl,
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top