aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-05-02 18:05:48 +0000
committerLibravatar GitHub <noreply@github.com>2020-05-02 18:05:48 +0000
commit8744e0854acaee7de267ab946c991fe5d82ec696 (patch)
tree6532dc1356b1c3aae0ff435ef7096ff3adacceff /etc/profile-a-l
parentvarious hardening (#3394) (diff)
downloadfirejail-8744e0854acaee7de267ab946c991fe5d82ec696.tar.gz
firejail-8744e0854acaee7de267ab946c991fe5d82ec696.tar.zst
firejail-8744e0854acaee7de267ab946c991fe5d82ec696.zip
dbus filter profiles (1) (#3326)
* dbus filter (1) * dbus-filter: firefox * drop org.gtk.vfs and com.canonical.AppMenu.Registrar
Diffstat (limited to 'etc/profile-a-l')
-rw-r--r--etc/profile-a-l/celluloid.profile7
-rw-r--r--etc/profile-a-l/com.github.dahenson.agenda.profile5
-rw-r--r--etc/profile-a-l/dconf-editor.profile5
-rw-r--r--etc/profile-a-l/eog.profile5
-rw-r--r--etc/profile-a-l/feedreader.profile8
-rw-r--r--etc/profile-a-l/firefox.profile7
-rw-r--r--etc/profile-a-l/gfeeds.profile6
-rw-r--r--etc/profile-a-l/ghostwriter.profile3
-rw-r--r--etc/profile-a-l/gitg.profile7
-rw-r--r--etc/profile-a-l/gnome-maps.profile8
-rw-r--r--etc/profile-a-l/gnome-pomodoro.profile6
-rw-r--r--etc/profile-a-l/gnome-screenshot.profile5
-rw-r--r--etc/profile-a-l/gnome-todo.profile12
-rw-r--r--etc/profile-a-l/keepassxc.profile22
-rw-r--r--etc/profile-a-l/libreoffice.profile3
15 files changed, 95 insertions, 14 deletions
diff --git a/etc/profile-a-l/celluloid.profile b/etc/profile-a-l/celluloid.profile
index 9be6b1631..567bd912a 100644
--- a/etc/profile-a-l/celluloid.profile
+++ b/etc/profile-a-l/celluloid.profile
@@ -46,9 +46,10 @@ private-etc alternatives,ca-certificates,crypto-policies,dconf,drirc,fonts,gtk-3
46private-dev 46private-dev
47private-tmp 47private-tmp
48 48
49# uses dconf, MPRIS 49dbus-user filter
50# dbus-user none 50dbus-user.own io.github.celluloid_player.Celluloid
51# dbus-system none 51dbus-user.talk org.gnome.SettingsDaemon.MediaKeys
52dbus-system none
52 53
53read-only ${HOME} 54read-only ${HOME}
54read-write ${HOME}/.config/celluloid 55read-write ${HOME}/.config/celluloid
diff --git a/etc/profile-a-l/com.github.dahenson.agenda.profile b/etc/profile-a-l/com.github.dahenson.agenda.profile
index ea5370649..6df9627b3 100644
--- a/etc/profile-a-l/com.github.dahenson.agenda.profile
+++ b/etc/profile-a-l/com.github.dahenson.agenda.profile
@@ -54,6 +54,11 @@ private-dev
54private-etc dconf,fonts,gtk-3.0 54private-etc dconf,fonts,gtk-3.0
55private-tmp 55private-tmp
56 56
57dbus-user filter
58dbus.own com.github.dahenson.agenda
59dbus.talk ca.desrt.dconf
60dbus-system none
61
57read-only ${HOME} 62read-only ${HOME}
58read-write ${HOME}/.cache/agenda 63read-write ${HOME}/.cache/agenda
59read-write ${HOME}/.config/agenda 64read-write ${HOME}/.config/agenda
diff --git a/etc/profile-a-l/dconf-editor.profile b/etc/profile-a-l/dconf-editor.profile
index e7cc66e32..62379d3ef 100644
--- a/etc/profile-a-l/dconf-editor.profile
+++ b/etc/profile-a-l/dconf-editor.profile
@@ -44,3 +44,8 @@ private-dev
44private-etc alternatives,dconf,fonts,gtk-3.0,machine-id 44private-etc alternatives,dconf,fonts,gtk-3.0,machine-id
45private-lib 45private-lib
46private-tmp 46private-tmp
47
48dbus-user filter
49dbus-user.own ca.desrt.dconf-editor
50dbus-user.talk ca.desrt.dconf
51dbus-system none
diff --git a/etc/profile-a-l/eog.profile b/etc/profile-a-l/eog.profile
index 6690b33ca..3266f7d28 100644
--- a/etc/profile-a-l/eog.profile
+++ b/etc/profile-a-l/eog.profile
@@ -15,5 +15,10 @@ whitelist /usr/share/eog
15# or put 'ignore private-bin', 'ignore private-etc' and 'ignore private-lib' in your eog.local 15# or put 'ignore private-bin', 'ignore private-etc' and 'ignore private-lib' in your eog.local
16private-bin eog 16private-bin eog
17 17
18dbus-user filter
19dbus-user.own org.gnome.Eog
20dbus-user.talk ca.desrt.dconf
21dbus-system none
22
18# Redirect 23# Redirect
19include eo-common.profile 24include eo-common.profile
diff --git a/etc/profile-a-l/feedreader.profile b/etc/profile-a-l/feedreader.profile
index 7d3c7a8f4..60c6c8548 100644
--- a/etc/profile-a-l/feedreader.profile
+++ b/etc/profile-a-l/feedreader.profile
@@ -48,3 +48,11 @@ private-cache
48private-dev 48private-dev
49private-tmp 49private-tmp
50 50
51dbus-user filter
52dbus-user.own org.gnome.FeedReader
53dbus-user.own org.gnome.FeedReader.ArticleView
54# Enable as you need.
55#dbus-user.talk org.freedesktop.Notifications
56#dbus-user.talk org.freedesktop.secrets
57#dbus-user.talk org.gnome.OnlineAccounts
58dbus-system none
diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile
index 4a2cb260f..337311ed8 100644
--- a/etc/profile-a-l/firefox.profile
+++ b/etc/profile-a-l/firefox.profile
@@ -28,5 +28,12 @@ include whitelist-usr-share-common.inc
28# private-etc must first be enabled in firefox-common.profile 28# private-etc must first be enabled in firefox-common.profile
29#private-etc firefox 29#private-etc firefox
30 30
31dbus-user filter
32dbus-user.own org.mozilla.firefox.*
33dbus-user.own org.mpris.MediaPlayer2.firefox.*
34# Uncomment or put in your firefox.local to enable native notifications.
35#dbus-user.talk org.freedesktop.Notifications
36ignore dbus-user none
37
31# Redirect 38# Redirect
32include firefox-common.profile 39include firefox-common.profile
diff --git a/etc/profile-a-l/gfeeds.profile b/etc/profile-a-l/gfeeds.profile
index e7913f5e4..587a12a93 100644
--- a/etc/profile-a-l/gfeeds.profile
+++ b/etc/profile-a-l/gfeeds.profile
@@ -58,5 +58,7 @@ private-dev
58private-etc alternatives,ca-certificates,crypto-policies,dbus-1,dconf,fonts,gconf,group,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,mime.types,nsswitch.conf,pango,passwd,pki,protocols,resolv.conf,rpc,services,ssl,X11,xdg 58private-etc alternatives,ca-certificates,crypto-policies,dbus-1,dconf,fonts,gconf,group,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,mime.types,nsswitch.conf,pango,passwd,pki,protocols,resolv.conf,rpc,services,ssl,X11,xdg
59private-tmp 59private-tmp
60 60
61# dbus-user none 61dbus-user filter
62# dbus-system none 62dbus-user.own org.gabmus.gfeeds
63dbus-user.talk ca.desrt.dconf
64dbus-system none
diff --git a/etc/profile-a-l/ghostwriter.profile b/etc/profile-a-l/ghostwriter.profile
index c18a6b72e..1d5398403 100644
--- a/etc/profile-a-l/ghostwriter.profile
+++ b/etc/profile-a-l/ghostwriter.profile
@@ -48,3 +48,6 @@ private-dev
48# passwd,login.defs,firejail are a temporary workaround for #2877 and can be removed once it is fixed 48# passwd,login.defs,firejail are a temporary workaround for #2877 and can be removed once it is fixed
49private-etc alternatives,ca-certificates,crypto-policies,dbus-1,dconf,firejail,fonts,gconf,groups,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,login.defs,machine-id,mime.types,nsswitch.conf,pango,passwd,pki,protocols,resolv.conf,rpc,services,ssl,texlive,Trolltech.conf,X11,xdg 49private-etc alternatives,ca-certificates,crypto-policies,dbus-1,dconf,firejail,fonts,gconf,groups,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,login.defs,machine-id,mime.types,nsswitch.conf,pango,passwd,pki,protocols,resolv.conf,rpc,services,ssl,texlive,Trolltech.conf,X11,xdg
50private-tmp 50private-tmp
51
52dbus-user none
53dbus-system none
diff --git a/etc/profile-a-l/gitg.profile b/etc/profile-a-l/gitg.profile
index 68f38c3ce..71b8e9b11 100644
--- a/etc/profile-a-l/gitg.profile
+++ b/etc/profile-a-l/gitg.profile
@@ -52,3 +52,10 @@ private-bin git,gitg,ssh
52private-cache 52private-cache
53private-dev 53private-dev
54private-tmp 54private-tmp
55
56dbus-user filter
57dbus-user.own org.gnome.gitg
58dbus-user.talk ca.desrt.dconf
59# Uncomment (or put in your gitg.local) if you need keyring access.
60#dbus-user.talk org.freedesktop.secrets
61dbus-system none
diff --git a/etc/profile-a-l/gnome-maps.profile b/etc/profile-a-l/gnome-maps.profile
index bf263efa9..1366d1e1e 100644
--- a/etc/profile-a-l/gnome-maps.profile
+++ b/etc/profile-a-l/gnome-maps.profile
@@ -62,3 +62,11 @@ private-bin gjs,gnome-maps
62private-dev 62private-dev
63private-etc alternatives,ca-certificates,clutter-1.0,crypto-policies,dconf,drirc,fonts,gconf,gcrypt,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mime.types,nsswitch.conf,pango,pkcs11,pki,protocols,resolv.conf,rpc,services,ssl,X11,xdg 63private-etc alternatives,ca-certificates,clutter-1.0,crypto-policies,dconf,drirc,fonts,gconf,gcrypt,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mime.types,nsswitch.conf,pango,pkcs11,pki,protocols,resolv.conf,rpc,services,ssl,X11,xdg
64private-tmp 64private-tmp
65
66dbus-user filter
67dbus-user.own org.gnome.Maps
68#dbus-user.talk org.freedesktop.secrets
69#dbus-user.talk org.gnome.OnlineAccounts
70dbus-system filter
71#dbus-system.talk org.freedesktop.NetworkManager
72dbus-system.talk org.freedesktop.GeoClue2
diff --git a/etc/profile-a-l/gnome-pomodoro.profile b/etc/profile-a-l/gnome-pomodoro.profile
index f8be23f07..2a5d2a231 100644
--- a/etc/profile-a-l/gnome-pomodoro.profile
+++ b/etc/profile-a-l/gnome-pomodoro.profile
@@ -47,5 +47,11 @@ private-dev
47private-etc dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,machine-id 47private-etc dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,machine-id
48private-tmp 48private-tmp
49 49
50dbus-user filter
51dbus-user.own org.gnome.Pomodoro
52dbus-user.talk ca.desrt.dconf
53dbus-user.talk org.gnome.Shell
54dbus-system none
55
50read-only ${HOME} 56read-only ${HOME}
51read-write ${HOME}/.local/share/gnome-pomodoro 57read-write ${HOME}/.local/share/gnome-pomodoro
diff --git a/etc/profile-a-l/gnome-screenshot.profile b/etc/profile-a-l/gnome-screenshot.profile
index cc5efb161..fe6bc025d 100644
--- a/etc/profile-a-l/gnome-screenshot.profile
+++ b/etc/profile-a-l/gnome-screenshot.profile
@@ -42,3 +42,8 @@ private-bin gnome-screenshot
42private-dev 42private-dev
43private-etc dconf,fonts,gtk-3.0,localtime,machine-id 43private-etc dconf,fonts,gtk-3.0,localtime,machine-id
44private-tmp 44private-tmp
45
46dbus-user filter
47dbus-user.own org.gnome.Screenshot
48dbus-user.talk org.gnome.Shell.Screenshot
49dbus-system none
diff --git a/etc/profile-a-l/gnome-todo.profile b/etc/profile-a-l/gnome-todo.profile
index 6240cce65..453925022 100644
--- a/etc/profile-a-l/gnome-todo.profile
+++ b/etc/profile-a-l/gnome-todo.profile
@@ -48,4 +48,16 @@ private-dev
48private-etc dconf,fonts,gtk-3.0,localtime,passwd,xdg 48private-etc dconf,fonts,gtk-3.0,localtime,passwd,xdg
49private-tmp 49private-tmp
50 50
51dbus-user filter
52dbus-user.own org.gnome.Todo
53dbus-user.talk ca.desrt.dconf
54#dbus-user.talk org.gnome.evolution.dataserver.AddressBook9
55#dbus-user.talk org.gnome.evolution.dataserver.Calendar8
56#dbus-user.talk org.gnome.evolution.dataserver.Sources5
57#dbus-user.talk org.gnome.evolution.dataserver.Subprocess.Backend.*
58#dbus-user.talk org.gnome.OnlineAccounts
59dbus-system none
60#dbus-system filter
61#dbus-system.talk org.freedesktop.login1
62
51read-only ${HOME} 63read-only ${HOME}
diff --git a/etc/profile-a-l/keepassxc.profile b/etc/profile-a-l/keepassxc.profile
index 43dbad5f9..9458edf33 100644
--- a/etc/profile-a-l/keepassxc.profile
+++ b/etc/profile-a-l/keepassxc.profile
@@ -31,10 +31,6 @@ machine-id
31net none 31net none
32no3d 32no3d
33nodvd 33nodvd
34# Breaks 'Lock database when session is locked or lid is closed' (#2899).
35# Also breaks (Plasma) tray icon,
36# you can safely uncomment it or add to keepassxc.local if you don't need these features.
37#
38nogroups 34nogroups
39nonewprivs 35nonewprivs
40noroot 36noroot
@@ -52,11 +48,19 @@ private-dev
52private-etc alternatives,fonts,ld.so.cache,machine-id 48private-etc alternatives,fonts,ld.so.cache,machine-id
53private-tmp 49private-tmp
54 50
55# Breaks 'Lock database when session is locked or lid is closed' (#2899). 51dbus-user filter
56# Also breaks (Plasma) tray icon, 52#dbus-user.own org.keepassxc.KeePassXC
57# you can safely uncomment it or add to keepassxc.local if you don't need these features. 53dbus-user.talk com.canonical.Unity.Session
58# dbus-user none 54dbus-user.talk org.freedesktop.ScreenSaver
59# dbus-system none 55dbus-user.talk org.freedesktop.login1.Manager
56dbus-user.talk org.freedesktop.login1.Session
57dbus-user.talk org.gnome.ScreenSaver
58dbus-user.talk org.gnome.SessionManager
59dbus-user.talk org.gnome.SessionManager.Presence
60# Uncomment or add to your keepassxc.local to allow Notifications.
61#dbus-user.talk org.freedesktop.Notifications
62#dbus-user.talk org.kde.StatusNotifierWatcher
63dbus-system none
60 64
61# Mutex is stored in /tmp by default, which is broken by private-tmp 65# Mutex is stored in /tmp by default, which is broken by private-tmp
62join-or-start keepassxc 66join-or-start keepassxc
diff --git a/etc/profile-a-l/libreoffice.profile b/etc/profile-a-l/libreoffice.profile
index aa113883e..948e2927c 100644
--- a/etc/profile-a-l/libreoffice.profile
+++ b/etc/profile-a-l/libreoffice.profile
@@ -46,4 +46,7 @@ tracelog
46private-dev 46private-dev
47private-tmp 47private-tmp
48 48
49dbus-user none
50dbus-system none
51
49join-or-start libreoffice 52join-or-start libreoffice