2016-11-19 21:26:57 +01:00
|
|
|
#include <abstractions/base>
|
|
|
|
#include <abstractions/nameservice>
|
2017-01-18 20:58:03 +01:00
|
|
|
#include <abstractions/private-files-strict>
|
2016-11-19 21:26:57 +01:00
|
|
|
#include <abstractions/python>
|
|
|
|
|
|
|
|
# Why are these not in abstractions/python?
|
|
|
|
/usr/lib{,32,64}/python{2,3}.[0-9]/__pycache__/ rw,
|
|
|
|
/usr/lib{,32,64}/python{2,3}.[0-9]/__pycache__/* rw,
|
|
|
|
/usr/lib{,32,64}/python{2,3}.[0-9]/**/__pycache__/ rw,
|
|
|
|
/usr/lib{,32,64}/python{2,3}.[0-9]/**/__pycache__/* rw,
|
|
|
|
/usr/lib{,32,64}/python{2,3}/**/__pycache__/ rw,
|
|
|
|
/usr/lib{,32,64}/python{2,3}/**/__pycache__/* rw,
|
|
|
|
|
|
|
|
/bin/dash rix,
|
|
|
|
/proc/*/mounts r,
|
|
|
|
/proc/*/fd/ r,
|
|
|
|
/sbin/ldconfig rix,
|
|
|
|
/sbin/ldconfig.real rix,
|
|
|
|
/bin/uname rix,
|
2017-01-18 20:58:03 +01:00
|
|
|
/etc/mime.types r,
|
|
|
|
/usr/share/onionshare/ r,
|
|
|
|
/usr/share/onionshare/** r,
|
2016-11-19 21:26:57 +01:00
|
|
|
/tmp/ rw,
|
|
|
|
/tmp/** rw,
|
|
|
|
|
2017-01-18 20:58:03 +01:00
|
|
|
# Allow read on almost anything in @{HOME}. Lenient, but
|
|
|
|
# private-files-strict is in effect.
|
|
|
|
owner @{HOME}/ r,
|
|
|
|
owner @{HOME}/[^.]** r,
|