qutebrowser/contrib/apparmor/usr.bin.qutebrowser

46 lines
968 B
Plaintext
Raw Normal View History

2014-07-30 12:50:56 +02:00
# AppArmor profile for qutebrowser
# Tested on Debian jessie
#include <tunables/global>
2014-08-27 12:10:35 +02:00
/usr/bin/qutebrowser {
2014-07-30 12:50:56 +02:00
2014-08-27 12:10:35 +02:00
#include <abstractions/base>
#include <abstractions/audio>
#include <abstractions/fonts>
#include <abstractions/kde>
#include <abstractions/user-download>
2014-07-30 12:50:56 +02:00
#include <abstractions/X>
2014-08-27 12:10:35 +02:00
2014-07-30 12:50:56 +02:00
capability dac_override,
/etc/nsswitch.conf r,
/etc/resolv.conf r,
/etc/host.conf r,
/etc/hosts r,
/etc/passwd r,
2014-08-27 12:10:35 +02:00
/etc/gai.conf r,
/etc/ssl/openssl.cnf r,
2014-07-30 12:50:56 +02:00
/etc/ssl/certs/ r,
2014-08-27 12:10:35 +02:00
/usr/bin/ r,
/usr/bin/qutebrowser rix,
2014-08-27 12:20:48 +02:00
/usr/bin/python3.? r,
2014-08-27 12:10:35 +02:00
2014-07-30 12:50:56 +02:00
/proc/** r,
/usr/lib/python3/ mr,
/usr/lib/python3/** mr,
/usr/lib/python3.?/ r,
/usr/lib/python3.?/** mr,
2014-08-27 12:20:48 +02:00
/usr/local/lib/python3.?/** r,
/usr/share/ca-certificates/** r,
2014-07-30 12:50:56 +02:00
2014-08-27 12:10:35 +02:00
@{HOME}/.config/qutebrowser/** krw,
@{HOME}/.local/share/qutebrowser/** krw,
@{HOME}/.cache/qutebrowser/** krw,
@{HOME}/.gstreamer-0.10/* r,
2014-07-30 12:50:56 +02:00
}