From f5b452bc4276ff2abecae522d9598441899293f1 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 10 Jun 2016 11:22:24 -0400 Subject: private-bin conversion --- etc/deluge.profile | 1 + etc/disable-devel.inc | 2 +- etc/evince.profile | 1 + etc/fbreader.profile | 3 ++- etc/filezilla.profile | 1 + etc/gthumb.profile | 1 + etc/hexchat.profile | 2 ++ etc/qbittorrent.profile | 1 + etc/rtorrent.profile | 1 + etc/transmission-gtk.profile | 1 + etc/transmission-qt.profile | 1 + etc/uget-gtk.profile | 4 ++++ etc/weechat.profile | 4 ++++ etc/xchat.profile | 2 ++ 14 files changed, 23 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/deluge.profile b/etc/deluge.profile index 87a17423b..96df13a73 100644 --- a/etc/deluge.profile +++ b/etc/deluge.profile @@ -15,3 +15,4 @@ seccomp shell none private-bin deluge,sh,python,uname +whitelist /tmp/.X11-unix diff --git a/etc/disable-devel.inc b/etc/disable-devel.inc index 071a82f76..4e401055a 100644 --- a/etc/disable-devel.inc +++ b/etc/disable-devel.inc @@ -37,7 +37,7 @@ blacklist /usr/lib/php* blacklist /usr/bin/ruby blacklist /usr/lib/ruby -# Programs using python: deluge, firefox addons, filezilla, cherrytree +# Programs using python: deluge, firefox addons, filezilla, cherrytree, xchat, hexchat # Python 2 #blacklist /usr/bin/python2* #blacklist /usr/lib/python2* diff --git a/etc/evince.profile b/etc/evince.profile index 8671c1251..320d55fad 100644 --- a/etc/evince.profile +++ b/etc/evince.profile @@ -13,3 +13,4 @@ seccomp shell none private-bin evince,evince-previewer,evince-thumbnailer +whitelist /tmp/.X11-unix diff --git a/etc/fbreader.profile b/etc/fbreader.profile index df359e50a..f155b02af 100644 --- a/etc/fbreader.profile +++ b/etc/fbreader.profile @@ -15,4 +15,5 @@ protocol unix,inet,inet6 seccomp shell none -private-bin fbreader,FBReader \ No newline at end of file +private-bin fbreader,FBReader +whitelist /tmp/.X11-unix diff --git a/etc/filezilla.profile b/etc/filezilla.profile index 35663f2fa..c146dba13 100644 --- a/etc/filezilla.profile +++ b/etc/filezilla.profile @@ -16,3 +16,4 @@ seccomp shell none private-bin filezilla,uname,sh,python,lsb_release,fzputtygen,fzsftp +whitelist /tmp/.X11-unix diff --git a/etc/gthumb.profile b/etc/gthumb.profile index 68d6a52d9..2d6cd160c 100644 --- a/etc/gthumb.profile +++ b/etc/gthumb.profile @@ -15,3 +15,4 @@ seccomp shell none private-bin gthumb +whitelist /tmp/.X11-unix diff --git a/etc/hexchat.profile b/etc/hexchat.profile index a584d25c5..4e829c379 100644 --- a/etc/hexchat.profile +++ b/etc/hexchat.profile @@ -17,3 +17,5 @@ mkdir ~/.config mkdir ~/.config/hexchat whitelist ~/.config/hexchat include /etc/firejail/whitelist-common.inc + +# private-bin requires perl, python, etc. diff --git a/etc/qbittorrent.profile b/etc/qbittorrent.profile index bb97a880b..bc87ad5c8 100644 --- a/etc/qbittorrent.profile +++ b/etc/qbittorrent.profile @@ -14,3 +14,4 @@ seccomp shell none private-bin qbittorrent +whitelist /tmp/.X11-unix diff --git a/etc/rtorrent.profile b/etc/rtorrent.profile index c196370a2..97c2335a8 100644 --- a/etc/rtorrent.profile +++ b/etc/rtorrent.profile @@ -14,3 +14,4 @@ seccomp shell none private-bin rtorrent +whitelist /tmp/.X11-unix diff --git a/etc/transmission-gtk.profile b/etc/transmission-gtk.profile index e8d0e25e7..80d71d615 100644 --- a/etc/transmission-gtk.profile +++ b/etc/transmission-gtk.profile @@ -18,3 +18,4 @@ tracelog shell none private-bin transmission-gtk +whitelist /tmp/.X11-unix diff --git a/etc/transmission-qt.profile b/etc/transmission-qt.profile index fd3a98aad..dfb600871 100644 --- a/etc/transmission-qt.profile +++ b/etc/transmission-qt.profile @@ -18,3 +18,4 @@ tracelog shell none private-bin transmission-qt +whitelist /tmp/.X11-unix diff --git a/etc/uget-gtk.profile b/etc/uget-gtk.profile index 02c7f56bf..591a82af4 100644 --- a/etc/uget-gtk.profile +++ b/etc/uget-gtk.profile @@ -17,3 +17,7 @@ mkdir ~/.config mkdir ~/.config/uGet whitelist ~/.config/uGet include /etc/firejail/whitelist-common.inc + +shell none +private-bin uget-gtk +whitelist /tmp/.X11-unix diff --git a/etc/weechat.profile b/etc/weechat.profile index 6cfe58420..410061278 100644 --- a/etc/weechat.profile +++ b/etc/weechat.profile @@ -9,3 +9,7 @@ nonewprivs noroot protocol unix,inet,inet6 seccomp + +# no private-bin support for various reasons: +# Plugins loaded: alias, aspell, charset, exec, fifo, guile, irc, +# logger, lua, perl, python, relay, ruby, script, tcl, trigger, xferloading plugins \ No newline at end of file diff --git a/etc/xchat.profile b/etc/xchat.profile index 061c4f3da..1f2865cab 100644 --- a/etc/xchat.profile +++ b/etc/xchat.profile @@ -10,3 +10,5 @@ nonewprivs noroot protocol unix,inet,inet6 seccomp + +# private-bin requires perl, python, etc. -- cgit v1.2.3-70-g09d2