Skip to content

Commit

Permalink
Add a profile for Minetest
Browse files Browse the repository at this point in the history
  • Loading branch information
SkewedZeppelin committed Sep 7, 2017
1 parent 4672174 commit 57f812f
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,4 @@ IntelliJ IDEA, Android Studio, electron, riot-web,
Extreme Tux Racer, Frozen Bubble, Open Invaders, Pingus, Simutrans, SuperTux,
telegram-desktop, arm, rambox, apktool, baobab, dex2jar, gitg, hashcat, obs, picard,
remmina, sdat2img, soundconverter, sqlitebrowse, truecraft, gnome-twitch, tuxguitar,
musescore, neverball, Yandex Browser
musescore, neverball, Yandex Browser, minetest
2 changes: 1 addition & 1 deletion RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ firejail (0.9.50~rc1) baseline; urgency=low
* new profiles: telegram-desktop, arm, rambox, apktool, baobab, dex2jar, gitg,
* new profiles: hashcat, obs, picard, remmina, sdat2img, soundconverter
* new profiles: truecraft, gnome-twitch, tuxguitar, musescore, neverball
* new profiles: sqlitebrowse, Yandex Browser
* new profiles: sqlitebrowse, Yandex Browser, minetest
* bugfixes
-- netblue30 <[email protected]> Mon, 12 Jun 2017 20:00:00 -0500

Expand Down
1 change: 1 addition & 0 deletions etc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ blacklist ${HOME}/.lv2
blacklist ${HOME}/.mcabber
blacklist ${HOME}/.mcabberrc
blacklist ${HOME}/.mediathek3
blacklist ${HOME}/.minetest
blacklist ${HOME}/.mozilla
blacklist ${HOME}/.mpdconf
blacklist ${HOME}/.mplayer
Expand Down
39 changes: 39 additions & 0 deletions etc/minetest.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Firejail profile for minetest
# This file is overwritten after every install/update
# Persistent local customizations
include /etc/firejail/minetest.local
# Persistent global definitions
include /etc/firejail/globals.local

noblacklist ${HOME}/.minetest

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc

mkdir ${HOME}/.minetest
whitelist ${HOME}/.minetest
include /etc/firejail/whitelist-common.inc

caps.drop all
ipc-namespace
netfilter
nodvd
nogroups
nonewprivs
noroot
notv
novideo
protocol unix,inet,inet6
seccomp
shell none

disable-mnt
private-bin minetest
private-dev
private-etc asound.conf,ca-certificates,drirc,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,nsswitch.conf,passwd,pulse,resolv.conf,ssl
private-tmp

noexec ${HOME}
noexec /tmp
1 change: 1 addition & 0 deletions platform/debian/conffiles
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@
/etc/firejail/mediathekview.profile
/etc/firejail/meld.profile
/etc/firejail/midori.profile
/etc/firejail/minetest.profile
/etc/firejail/mousepad.profile
/etc/firejail/mplayer.profile
/etc/firejail/mpv.profile
Expand Down
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ mediainfo
mediathekview
meld
midori
minetest
mousepad
mplayer
mpv
Expand Down

0 comments on commit 57f812f

Please sign in to comment.