Advertisement
Guest User

Vidalia AppArmor Profile

a guest
Feb 12th, 2012
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. #include <tunables/global>
  2.  
  3. /usr/bin/vidalia {
  4. #include <abstractions/nameservice>
  5. #include <abstractions/fonts>
  6. #include <abstractions/freedesktop.org>
  7. #include <abstractions/dbus-session>
  8. #include <abstractions/ibus>
  9.  
  10. # We can't use abstractions/base for these because
  11. # it conflicts with the ability to launch tor+firefox somehow (??)
  12. /etc/ld.so.cache r,
  13. /usr/lib/** mr,
  14. /lib/** mr,
  15. /dev/urandom r,
  16. /usr/share/** rk, # Icons, themes, etc
  17. /etc/xdg/Trolltech.conf rk,
  18. /etc/locale.alias r,
  19. /etc/localtime r,
  20.  
  21. deny /proc/** r, # Who needs /proc? STFU, plz
  22.  
  23. /etc/xdg/sni-qt.conf rk,
  24. /tmp/** rwk,
  25.  
  26. /etc/ssl/certs/ r,
  27. /etc/ssl/certs/** r,
  28.  
  29. @{HOME}/.vidalia rw,
  30. @{HOME}/.vidalia/** rwmk,
  31.  
  32. # XXX: WTF?? Why does vidalia need my xauth???
  33. deny @{HOME}/.Xauthority rwmk,
  34. deny @{HOME}.ICEauthority rwmk,
  35.  
  36. # trolltech
  37. deny @{HOME}/.config rw,
  38. deny @{HOME}/.config/** rwmk,
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement