added okular and gwenview profiles

This commit is contained in:
netblue30 2016-04-18 09:38:54 -04:00
parent 0b5429c995
commit 96e801fd8a
9 changed files with 58 additions and 4 deletions

View file

@ -166,6 +166,8 @@ realinstall:
install -c -m 0644 .etc/0ad.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/netsurf.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/warzone2100.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/okular.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/gwenview.profile $(DESTDIR)/$(sysconfdir)/firejail/.
sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;"
sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/firejail.config ]; then install -c -m 0644 etc/firejail.config $(DESTDIR)/$(sysconfdir)/firejail/.; fi;"
rm -fr .etc

7
README
View file

@ -18,6 +18,10 @@ License: GPL v2
Firejail Authors:
netblue30 (netblue30@yahoo.com)
curiosity-seeker (https://github.com/curiosity-seeker)
- tightening unbound and dnscrypt-proxy profiles
- dnsmasq profile
- okular and gwenview profiles
Matthew Gyurgyik (https://github.com/pyther)
- rpm spec and several fixes
Joan Figueras (https://github.com/figue)
@ -86,9 +90,6 @@ Rahiel Kasim (https://github.com/rahiel)
- Mathematica profile
creideiki (https://github.com/creideiki)
- make the sandbox process reap all children
curiosity-seeker (https://github.com/curiosity-seeker)
- tightening unbound and dnscrypt-proxy profiles
- dnsmasq profile
sinkuu (https://github.com/sinkuu)
- blacklisting kwalletd
- fix symlink invocation for programs placing symlinks in $PATH

View file

@ -282,5 +282,5 @@ $ man firejail-profile
## New security profiles
lxterminal, Epiphany, cherrytree, Polari, Vivaldi, Atril, qutebrowser, SlimJet, Battle for Wesnoth, Hedgewars, qTox,
OpenSSH client, OpenBox window manager, Dillo, cmus, dnsmasq, PaleMoon, Icedove, abrowser, 0ad, netsurf,
Warzone2100
Warzone2100, okular, gwenview

View file

@ -20,6 +20,7 @@ firejail (0.9.40-rc1) baseline; urgency=low
* new profiles: qutebrowser, SlimJet, Battle for Wesnoth, Hedgewars
* new profiles: qTox, OpenSSH client, OpenBox, Dillo, cmus, dnsmasq
* new profiles: PaleMoon, Icedove, abrowser, 0ad, netsurf, Warzone2100
* new profiles: okular, gwenview
* build rpm packages using "make rpms"
* bugfixes
-- netblue30 <netblue30@yahoo.com> Sun, 3 Apr 2016 08:00:00 -0500

View file

@ -8,6 +8,11 @@ blacklist ${HOME}/.Wolfram Research
blacklist ${HOME}/.config/mupen64plus
blacklist ${HOME}/.config/transmission
blacklist ${HOME}/.config/uGet
blacklist ~/.kde/share/apps/okular
blacklist ~/.kde/share/config/okularrc
blacklist ~/.kde/share/config/okularpartrc
blacklist ~/.kde/share/apps/gwenview
blacklist ~/.kde/share/config/gwenviewrc
# Media players
blacklist ${HOME}/.config/cmus

19
etc/gwenview.profile Normal file
View file

@ -0,0 +1,19 @@
# KDE gwenview profile
noblacklist ~/.kde/share/apps/gwenview
noblacklist ~/.kde/share/config/gwenviewrc
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
caps.drop all
seccomp
protocol unix
noroot
nogroups
private-dev
#Experimental:
#shell none
#private-bin gwenview
#private-etc X11

21
etc/okular.profile Normal file
View file

@ -0,0 +1,21 @@
# KDE okular profile
noblacklist ~/.kde/share/apps/okular
noblacklist ~/.kde/share/config/okularrc
noblacklist ~/.kde/share/config/okularpartrc
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
caps.drop all
seccomp
protocol unix
noroot
nogroups
private-dev
#Experimental:
#net none
#shell none
#private-bin okular,kbuildsycoca4,kbuildsycoca5
#private-etc X11

View file

@ -85,3 +85,6 @@
/etc/firejail/0ad.profile
/etc/firejail/netsurf.profile
/etc/firejail/warzone2100.profile
/etc/firejail/okular.profile
/etc/firejail/gwenview.profile

View file

@ -51,6 +51,8 @@ loweb
lowriter
Mathematica
mathematica
gwenview
okular
# Media
vlc