| 1 | # vim:syntax=apparmor |
| 2 | # Last Modified: Thu Aug 25 13:37:56 2005 |
| 3 | # ------------------------------------------------------------------ |
| 4 | # |
| 5 | # Copyright (C) 2002-2005 Novell/SUSE |
| 6 | # |
| 7 | # This program is free software; you can redistribute it and/or |
| 8 | # modify it under the terms of version 2 of the GNU General Public |
| 9 | # License published by the Free Software Foundation. |
| 10 | # |
| 11 | # ------------------------------------------------------------------ |
| 12 | |
| 13 | #include <tunables/global> |
| 14 | |
| 15 | /usr/bin/wireshark { |
| 16 | #include <abstractions/base> |
| 17 | #include <abstractions/bash> |
| 18 | #include <abstractions/consoles> |
| 19 | #include <abstractions/kde> |
| 20 | #include <abstractions/nameservice> |
| 21 | #include <abstractions/gnome> |
| 22 | #include <abstractions/user-write> |
| 23 | #include <abstractions/X> |
| 24 | |
| 25 | capability net_raw, |
| 26 | |
| 27 | /etc/ethers r, |
| 28 | |
| 29 | @{HOME}/.wireshark/* rw, |
| 30 | @{HOME}/.fonts.cache-* r, |
| 31 | |
| 32 | /etc/pango/pango.modules r, |
| 33 | /usr/lib/gtk-*/*/loaders/* mr, |
| 34 | /usr/share/* r, |
| 35 | /usr/share/icons/** r, |
| 36 | /usr/share/mime/* r, |
| 37 | /usr/lib/firefox/firefox.sh rPx, |
| 38 | /usr/bin/wireshark mixr, |
| 39 | /usr/share/icons r, |
| 40 | /usr/share/mime/* r, |
| 41 | /usr/share/snmp/mibs r, |
| 42 | /usr/share/snmp/mibs/* r, |
| 43 | /usr/share/snmp/mibs/.index rw, |
| 44 | } |