mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
Merge branch 'u451f-master'
This commit is contained in:
commit
eece9641a7
@ -1,5 +1,6 @@
|
||||
#include <abstractions/base>
|
||||
#include <abstractions/nameservice>
|
||||
#include <abstractions/private-files-strict>
|
||||
#include <abstractions/python>
|
||||
|
||||
# Why are these not in abstractions/python?
|
||||
@ -16,16 +17,13 @@
|
||||
/sbin/ldconfig rix,
|
||||
/sbin/ldconfig.real rix,
|
||||
/bin/uname rix,
|
||||
/{,lib/live/mount/rootfs/filesystem.squashfs/}etc/mime.types r,
|
||||
/{,lib/live/mount/rootfs/filesystem.squashfs/}usr/share/onionshare/ r,
|
||||
/{,lib/live/mount/rootfs/filesystem.squashfs/}usr/share/onionshare/** r,
|
||||
/etc/mime.types r,
|
||||
/usr/share/onionshare/ r,
|
||||
/usr/share/onionshare/** r,
|
||||
/tmp/ rw,
|
||||
/tmp/** rw,
|
||||
|
||||
# Allow all user data except .gnupg, .ssh and other potential
|
||||
# places for critically sensitive application data.
|
||||
audit deny @{HOME}/.* mrwkl,
|
||||
audit deny @{HOME}/.*/ mrwkl,
|
||||
audit deny @{HOME}/.*/** mrwkl,
|
||||
owner @{HOME}/ r,
|
||||
owner @{HOME}/** r,
|
||||
# Allow read on almost anything in @{HOME}. Lenient, but
|
||||
# private-files-strict is in effect.
|
||||
owner @{HOME}/ r,
|
||||
owner @{HOME}/[^.]** r,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <tunables/global>
|
||||
|
||||
/usr/bin/onionshare flags=(complain) {
|
||||
/usr/bin/onionshare {
|
||||
#include <abstractions/onionshare>
|
||||
|
||||
/usr/bin/ r,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <tunables/global>
|
||||
|
||||
/usr/bin/onionshare-gui flags=(complain) {
|
||||
/usr/bin/onionshare-gui {
|
||||
#include <abstractions/gnome>
|
||||
#include <abstractions/ibus>
|
||||
#include <abstractions/onionshare>
|
||||
@ -8,14 +8,16 @@
|
||||
/usr/bin/ r,
|
||||
/usr/bin/onionshare-gui r,
|
||||
/proc/*/cmdline r,
|
||||
/usr/share/icons/Adwaita/index.theme r,
|
||||
|
||||
# The freedesktop.org abstraction doesn't allow `k`
|
||||
/usr/share/icons/*/index.theme k,
|
||||
|
||||
# Why do these still emit audit journal entries?
|
||||
owner @{HOME}/.config/ibus/bus/ rw,
|
||||
owner @{HOME}/.config/ibus/bus/* rw,
|
||||
deny @{HOME}/.ICEauthority r,
|
||||
|
||||
deny /{,lib/live/mount/rootfs/filesystem.squashfs/}etc/machine-id r,
|
||||
deny /etc/machine-id r,
|
||||
deny /var/lib/dbus/machine-id.* rw,
|
||||
|
||||
# Accessibility support
|
||||
|
Loading…
Reference in New Issue
Block a user