aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--RELNOTES6
-rw-r--r--etc/blobwars.profile47
-rw-r--r--etc/dig.profile3
-rw-r--r--etc/disable-programs.inc11
-rw-r--r--etc/five-or-more.profile19
-rw-r--r--etc/four-in-a-row.profile2
-rw-r--r--etc/gnome-klotski.profile17
-rw-r--r--etc/gnome-mahjongg.profile2
-rw-r--r--etc/gnome-mines.profile2
-rw-r--r--etc/gnome-nibbles.profile2
-rw-r--r--etc/gnome-robots.profile2
-rw-r--r--etc/gnome-sudoku.profile2
-rw-r--r--etc/gnome-taquin.profile2
-rw-r--r--etc/gnome-tetravex.profile2
-rw-r--r--etc/gravity-beams-and-evaporating-stars.profile44
-rw-r--r--etc/hyperrogue.profile48
-rw-r--r--etc/jumpnbump-menu.profile15
-rw-r--r--etc/jumpnbump.profile47
-rw-r--r--etc/lightsoff.profile2
-rw-r--r--etc/magicor.profile49
-rw-r--r--etc/mindless.profile48
-rw-r--r--etc/mirrormagic.profile48
-rw-r--r--etc/mrrescue.profile47
-rw-r--r--etc/mumble.profile2
-rw-r--r--etc/nslookup.profile5
-rw-r--r--etc/scorched3d-wrapper.profile5
-rw-r--r--etc/scorchwentbonkers.profile47
-rw-r--r--etc/seahorse-adventures.profile48
-rw-r--r--etc/slack.profile7
-rw-r--r--etc/ssh.profile1
-rw-r--r--etc/steam.profile8
-rw-r--r--etc/swell-foop.profile19
-rw-r--r--etc/unknown-horizons.profile4
-rw-r--r--etc/whitelist-usr-share-common.inc1
-rw-r--r--etc/wordwarvi.profile49
-rw-r--r--etc/xbill.profile51
-rw-r--r--src/firecfg/firecfg.config17
-rw-r--r--src/profstats/main.c11
39 files changed, 724 insertions, 20 deletions
diff --git a/README.md b/README.md
index 720a25d31..63609b86d 100644
--- a/README.md
+++ b/README.md
@@ -178,4 +178,4 @@ Run ./profstats -h for help.
178### New profiles: 178### New profiles:
179 179
180gfeeds, firefox-x11, tvbrowser, rtv, clipgrab, gnome-passwordsafe, bibtex, gummi, latex, pdflatex, tex, wpp, wpspdf, wps, et, multimc, gnome-hexgl, com.github.johnfactotum.Foliate, desktopeditors, impressive, mupdf-gl, mupdf-x11, mupdf-x11-curl, muraster, mutool, planmaker18, planmaker18free, presentations18, presentations18free, textmaker18, textmaker18free, teams, xournal, 180gfeeds, firefox-x11, tvbrowser, rtv, clipgrab, gnome-passwordsafe, bibtex, gummi, latex, pdflatex, tex, wpp, wpspdf, wps, et, multimc, gnome-hexgl, com.github.johnfactotum.Foliate, desktopeditors, impressive, mupdf-gl, mupdf-x11, mupdf-x11-curl, muraster, mutool, planmaker18, planmaker18free, presentations18, presentations18free, textmaker18, textmaker18free, teams, xournal,
181gnome-screenshot, ripperX, sound-juicer, iagno, com.github.dahenson.agenda, gnome-pomodoro, gnome-todo, kmplayer, penguin-command, x2goclient, frogatto, gnome-mines, gnome-nibbles, lightsoff, ts3client_runscript.sh, warmux, ferdi, abiword, four-in-a-row, gnome-mahjongg, gnome-robots, gnome-sudoku, gnome-taquin, gnome-tetravex 181gnome-screenshot, ripperX, sound-juicer, iagno, com.github.dahenson.agenda, gnome-pomodoro, gnome-todo, kmplayer, penguin-command, x2goclient, frogatto, gnome-mines, gnome-nibbles, lightsoff, ts3client_runscript.sh, warmux, ferdi, abiword, four-in-a-row, gnome-mahjongg, gnome-robots, gnome-sudoku, gnome-taquin, gnome-tetravex, blobwars, gravity-beams-and-evaporating-stars, hyperrogue, jumpnbump-menu, jumpnbump, magicor, mindless, mirrormagic, mrrescue, scorched3d-wrapper, scorchwentbonkers, seahorse-adventures, wordwarvi, xbill, gnome-klotski, five-or-more, swell-foop
diff --git a/RELNOTES b/RELNOTES
index 247a3ebe6..e60dc9d5a 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -18,7 +18,11 @@ firejail (0.9.63) baseline; urgency=low
18 * new profiles: frogatto, gnome-mines, gnome-nibbles, lightsoff, warmux 18 * new profiles: frogatto, gnome-mines, gnome-nibbles, lightsoff, warmux
19 * new profiles: ts3client_runscript.sh, ferdi, abiword, four-in-a-row 19 * new profiles: ts3client_runscript.sh, ferdi, abiword, four-in-a-row
20 * new profiles: gnome-mahjongg, gnome-robots, gnome-sudoku, gnome-taquin 20 * new profiles: gnome-mahjongg, gnome-robots, gnome-sudoku, gnome-taquin
21 * new profiles: gnome-tetravex 21 * new profiles: gnome-tetravex, blobwars, gravity-beams-and-evaporating-stars
22 * new profiles: hyperrogue, jumpnbump-menu, jumpnbump, magicor, mindless
23 * new profiles: mirrormagic, mrrescue, scorched3d-wrapper, scorchwentbonkers
24 * new profiles: seahorse-adventures, wordwarvi, xbill, gnome-klotski, five-or-more
25 * new profiles: swell-foop
22 26
23firejail (0.9.62) baseline; urgency=low 27firejail (0.9.62) baseline; urgency=low
24 * added file-copy-limit in /etc/firejail/firejail.config 28 * added file-copy-limit in /etc/firejail/firejail.config
diff --git a/etc/blobwars.profile b/etc/blobwars.profile
new file mode 100644
index 000000000..c0fa5ab91
--- /dev/null
+++ b/etc/blobwars.profile
@@ -0,0 +1,47 @@
1# Firejail profile for blobwars
2# Description: Mission and Objective based 2D Platform Game
3# This file is overwritten after every install/update
4# Persistent local customizations
5include blobwars.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.parallelrealities/blobwars
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19mkdir ${HOME}/.parallelrealities/blobwars
20whitelist ${HOME}/.parallelrealities/blobwars
21whitelist /usr/share/blobwars
22include whitelist-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.drop all
28net none
29nodbus
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35nou2f
36novideo
37protocol unix,netlink
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private-bin blobwars
44private-cache
45private-dev
46private-etc machine-id
47private-tmp
diff --git a/etc/dig.profile b/etc/dig.profile
index 270a95c05..f283db962 100644
--- a/etc/dig.profile
+++ b/etc/dig.profile
@@ -25,6 +25,7 @@ include disable-xdg.inc
25#mkfile ${HOME}/.digrc -- see #903 25#mkfile ${HOME}/.digrc -- see #903
26whitelist ${HOME}/.digrc 26whitelist ${HOME}/.digrc
27include whitelist-common.inc 27include whitelist-common.inc
28include whitelist-runuser-common.inc
28include whitelist-usr-share-common.inc 29include whitelist-usr-share-common.inc
29include whitelist-var-common.inc 30include whitelist-var-common.inc
30 31
@@ -32,6 +33,7 @@ apparmor
32caps.drop all 33caps.drop all
33ipc-namespace 34ipc-namespace
34machine-id 35machine-id
36memory-deny-write-execute
35netfilter 37netfilter
36no3d 38no3d
37nodbus 39nodbus
@@ -49,7 +51,6 @@ shell none
49tracelog 51tracelog
50 52
51disable-mnt 53disable-mnt
52private
53private-bin bash,dig,sh 54private-bin bash,dig,sh
54private-dev 55private-dev
55# Uncomment the next line (or put 'private-lib' in your dig.local) on non Debian/Ubuntu OS (see issue #3038) 56# Uncomment the next line (or put 'private-lib' in your dig.local) on non Debian/Ubuntu OS (see issue #3038)
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 5bb2f851a..afedd0966 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -10,6 +10,7 @@ blacklist ${HOME}/SoftMaker
10blacklist ${HOME}/Standard Notes Backups 10blacklist ${HOME}/Standard Notes Backups
11blacklist ${HOME}/TeamSpeak3-Client-linux_x86 11blacklist ${HOME}/TeamSpeak3-Client-linux_x86
12blacklist ${HOME}/TeamSpeak3-Client-linux_amd64 12blacklist ${HOME}/TeamSpeak3-Client-linux_amd64
13blacklist ${HOME}/hyperrogue.ini
13blacklist ${HOME}/mps 14blacklist ${HOME}/mps
14blacklist ${HOME}/wallet.dat 15blacklist ${HOME}/wallet.dat
15blacklist ${HOME}/.*coin 16blacklist ${HOME}/.*coin
@@ -410,6 +411,7 @@ blacklist ${HOME}/.jak
410blacklist ${HOME}/.java 411blacklist ${HOME}/.java
411blacklist ${HOME}/.jd 412blacklist ${HOME}/.jd
412blacklist ${HOME}/.jitsi 413blacklist ${HOME}/.jitsi
414blacklist ${HOME}/.jumpnbump
413blacklist ${HOME}/.kde/share/apps/digikam 415blacklist ${HOME}/.kde/share/apps/digikam
414blacklist ${HOME}/.kde/share/apps/gwenview 416blacklist ${HOME}/.kde/share/apps/gwenview
415blacklist ${HOME}/.kde/share/apps/kaffeine 417blacklist ${HOME}/.kde/share/apps/kaffeine
@@ -532,6 +534,7 @@ blacklist ${HOME}/.local/share/epiphany
532blacklist ${HOME}/.local/share/evolution 534blacklist ${HOME}/.local/share/evolution
533blacklist ${HOME}/.local/share/feedreader 535blacklist ${HOME}/.local/share/feedreader
534blacklist ${HOME}/.local/share/feral-interactive 536blacklist ${HOME}/.local/share/feral-interactive
537blacklist ${HOME}/.local/share/five-or-more
535blacklist ${HOME}/.local/share/freecol 538blacklist ${HOME}/.local/share/freecol
536blacklist ${HOME}/.local/share/gajim 539blacklist ${HOME}/.local/share/gajim
537blacklist ${HOME}/.local/share/geary 540blacklist ${HOME}/.local/share/geary
@@ -541,6 +544,7 @@ blacklist ${HOME}/.local/share/gitg
541blacklist ${HOME}/.local/share/gnome-2048 544blacklist ${HOME}/.local/share/gnome-2048
542blacklist ${HOME}/.local/share/gnome-chess 545blacklist ${HOME}/.local/share/gnome-chess
543blacklist ${HOME}/.local/share/gnome-builder 546blacklist ${HOME}/.local/share/gnome-builder
547blacklist ${HOME}/.local/share/gnome-klotski
544blacklist ${HOME}/.local/share/gnome-latex 548blacklist ${HOME}/.local/share/gnome-latex
545blacklist ${HOME}/.local/share/gnome-mines 549blacklist ${HOME}/.local/share/gnome-mines
546blacklist ${HOME}/.local/share/gnome-music 550blacklist ${HOME}/.local/share/gnome-music
@@ -574,6 +578,7 @@ blacklist ${HOME}/.local/share/kwrite
574blacklist ${HOME}/.local/share/liferea 578blacklist ${HOME}/.local/share/liferea
575blacklist ${HOME}/.local/share/local-mail 579blacklist ${HOME}/.local/share/local-mail
576blacklist ${HOME}/.local/share/lollypop 580blacklist ${HOME}/.local/share/lollypop
581blacklist ${HOME}/.local/share/love
577blacklist ${HOME}/.local/share/lugaru 582blacklist ${HOME}/.local/share/lugaru
578blacklist ${HOME}/.local/share/mana 583blacklist ${HOME}/.local/share/mana
579blacklist ${HOME}/.local/share/maps-places.json 584blacklist ${HOME}/.local/share/maps-places.json
@@ -609,6 +614,7 @@ blacklist ${HOME}/.local/share/spotify
609blacklist ${HOME}/.local/share/steam 614blacklist ${HOME}/.local/share/steam
610blacklist ${HOME}/.local/share/supertux2 615blacklist ${HOME}/.local/share/supertux2
611blacklist ${HOME}/.local/share/supertuxkart 616blacklist ${HOME}/.local/share/supertuxkart
617blacklist ${HOME}/.local/share/swell-foop
612blacklist ${HOME}/.local/share/telepathy 618blacklist ${HOME}/.local/share/telepathy
613blacklist ${HOME}/.local/share/terasology 619blacklist ${HOME}/.local/share/terasology
614blacklist ${HOME}/.local/share/torbrowser 620blacklist ${HOME}/.local/share/torbrowser
@@ -624,12 +630,14 @@ blacklist ${HOME}/.local/share/xplayer
624blacklist ${HOME}/.local/share/xreader 630blacklist ${HOME}/.local/share/xreader
625blacklist ${HOME}/.local/share/zathura 631blacklist ${HOME}/.local/share/zathura
626blacklist ${HOME}/.lv2 632blacklist ${HOME}/.lv2
633blacklist ${HOME}/.magicor
627blacklist ${HOME}/.masterpdfeditor 634blacklist ${HOME}/.masterpdfeditor
628blacklist ${HOME}/.mcabber 635blacklist ${HOME}/.mcabber
629blacklist ${HOME}/.mcabberrc 636blacklist ${HOME}/.mcabberrc
630blacklist ${HOME}/.mediathek3 637blacklist ${HOME}/.mediathek3
631blacklist ${HOME}/.megaglest 638blacklist ${HOME}/.megaglest
632blacklist ${HOME}/.minetest 639blacklist ${HOME}/.minetest
640blacklist ${HOME}/.mirrormagic
633blacklist ${HOME}/.moonchild productions/basilisk 641blacklist ${HOME}/.moonchild productions/basilisk
634blacklist ${HOME}/.moonchild productions/pale moon 642blacklist ${HOME}/.moonchild productions/pale moon
635blacklist ${HOME}/.mozilla 643blacklist ${HOME}/.mozilla
@@ -655,6 +663,7 @@ blacklist ${HOME}/.openttd
655blacklist ${HOME}/.opera 663blacklist ${HOME}/.opera
656blacklist ${HOME}/.opera-beta 664blacklist ${HOME}/.opera-beta
657blacklist ${HOME}/.ostrichriders 665blacklist ${HOME}/.ostrichriders
666blacklist ${HOME}/.parallelrealities/blobwars
658blacklist ${HOME}/.penguin-command 667blacklist ${HOME}/.penguin-command
659blacklist ${HOME}/.pingus 668blacklist ${HOME}/.pingus
660blacklist ${HOME}/.pioneer 669blacklist ${HOME}/.pioneer
@@ -681,6 +690,7 @@ blacklist ${HOME}/.steampid
681blacklist ${HOME}/.stellarium 690blacklist ${HOME}/.stellarium
682blacklist ${HOME}/.subversion 691blacklist ${HOME}/.subversion
683blacklist ${HOME}/.surf 692blacklist ${HOME}/.surf
693blacklist ${HOME}/.swb.ini
684blacklist ${HOME}/.sword 694blacklist ${HOME}/.sword
685blacklist ${HOME}/.sylpheed-2.0 695blacklist ${HOME}/.sylpheed-2.0
686blacklist ${HOME}/.synfig 696blacklist ${HOME}/.synfig
@@ -716,6 +726,7 @@ blacklist ${HOME}/.widelands
716blacklist ${HOME}/.wine 726blacklist ${HOME}/.wine
717blacklist ${HOME}/.wine64 727blacklist ${HOME}/.wine64
718blacklist ${HOME}/.wireshark 728blacklist ${HOME}/.wireshark
729blacklist ${HOME}/.wordwarvi
719blacklist ${HOME}/.wormux 730blacklist ${HOME}/.wormux
720blacklist ${HOME}/.xiphos 731blacklist ${HOME}/.xiphos
721blacklist ${HOME}/.xmind 732blacklist ${HOME}/.xmind
diff --git a/etc/five-or-more.profile b/etc/five-or-more.profile
new file mode 100644
index 000000000..8e07d2453
--- /dev/null
+++ b/etc/five-or-more.profile
@@ -0,0 +1,19 @@
1# Firejail profile for five-or-more
2# Description: GNOME port of the once-popular Colour Lines game
3# This file is overwritten after every install/update
4# Persistent local customizations
5include five-or-more.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.local/share/five-or-more
10
11mkdir ${HOME}/.local/share/five-or-more
12whitelist ${HOME}/.local/share/five-or-more
13
14whitelist /usr/share/five-or-more
15
16private-bin five-or-more
17
18# Redirect
19include gnome_games-common.profile
diff --git a/etc/four-in-a-row.profile b/etc/four-in-a-row.profile
index b468c3435..29f6d1370 100644
--- a/etc/four-in-a-row.profile
+++ b/etc/four-in-a-row.profile
@@ -1,5 +1,5 @@
1# Firejail profile for four-in-a-row 1# Firejail profile for four-in-a-row
2# Description: Sliding tile puzzle game 2# Description: four-in-a-row game for GNOME
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include four-in-a-row.local 5include four-in-a-row.local
diff --git a/etc/gnome-klotski.profile b/etc/gnome-klotski.profile
new file mode 100644
index 000000000..69b4b0341
--- /dev/null
+++ b/etc/gnome-klotski.profile
@@ -0,0 +1,17 @@
1# Firejail profile for gnome-klotski
2# Description: Sliding block puzzles game for GNOME
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gnome-klotski.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.local/share/gnome-klotski
10
11mkdir ${HOME}/.local/share/gnome-klotski
12whitelist ${HOME}/.local/share/gnome-klotski
13
14private-bin gnome-klotski
15
16# Redirect
17include gnome_games-common.profile
diff --git a/etc/gnome-mahjongg.profile b/etc/gnome-mahjongg.profile
index 653c5f949..04aee8494 100644
--- a/etc/gnome-mahjongg.profile
+++ b/etc/gnome-mahjongg.profile
@@ -1,5 +1,5 @@
1# Firejail profile for gnome-mahjongg 1# Firejail profile for gnome-mahjongg
2# Description: Sliding tile puzzle game 2# Description: A matching game played with Mahjongg tiles
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include gnome-mahjongg.local 5include gnome-mahjongg.local
diff --git a/etc/gnome-mines.profile b/etc/gnome-mines.profile
index 9cae75524..9209b9ac3 100644
--- a/etc/gnome-mines.profile
+++ b/etc/gnome-mines.profile
@@ -1,5 +1,5 @@
1# Firejail profile for gnome-mines 1# Firejail profile for gnome-mines
2# Description: Sliding tile puzzle game 2# Description: The popular logic puzzle minesweeper
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include gnome-mines.local 5include gnome-mines.local
diff --git a/etc/gnome-nibbles.profile b/etc/gnome-nibbles.profile
index 4e42b6b15..5d4241c80 100644
--- a/etc/gnome-nibbles.profile
+++ b/etc/gnome-nibbles.profile
@@ -1,5 +1,5 @@
1# Firejail profile for gnome-nibbles 1# Firejail profile for gnome-nibbles
2# Description: Sliding tile puzzle game 2# Description: A worm game for GNOME
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include gnome-nibbles.local 5include gnome-nibbles.local
diff --git a/etc/gnome-robots.profile b/etc/gnome-robots.profile
index 888324a5c..b720bddd3 100644
--- a/etc/gnome-robots.profile
+++ b/etc/gnome-robots.profile
@@ -1,5 +1,5 @@
1# Firejail profile for gnome-robots 1# Firejail profile for gnome-robots
2# Description: Sliding tile puzzle game 2# Description: Based on classic BSD Robots
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include gnome-robots.local 5include gnome-robots.local
diff --git a/etc/gnome-sudoku.profile b/etc/gnome-sudoku.profile
index b41bccd1e..fb50723ce 100644
--- a/etc/gnome-sudoku.profile
+++ b/etc/gnome-sudoku.profile
@@ -1,5 +1,5 @@
1# Firejail profile for gnome-sudoku 1# Firejail profile for gnome-sudoku
2# Description: Sliding tile puzzle game 2# Description: puzzle game for the popular Japanese sudoku logic puzzle
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include gnome-sudoku.local 5include gnome-sudoku.local
diff --git a/etc/gnome-taquin.profile b/etc/gnome-taquin.profile
index efd64d455..83683918e 100644
--- a/etc/gnome-taquin.profile
+++ b/etc/gnome-taquin.profile
@@ -1,5 +1,5 @@
1# Firejail profile for gnome-taquin 1# Firejail profile for gnome-taquin
2# Description: Sliding tile puzzle game 2# Description: A sliding puzzle game for GNOME
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include gnome-taquin.local 5include gnome-taquin.local
diff --git a/etc/gnome-tetravex.profile b/etc/gnome-tetravex.profile
index e9622539c..032242f54 100644
--- a/etc/gnome-tetravex.profile
+++ b/etc/gnome-tetravex.profile
@@ -1,5 +1,5 @@
1# Firejail profile for gnome-tetravex 1# Firejail profile for gnome-tetravex
2# Description: Sliding tile puzzle game 2# Description: A simple puzzle game for GNOME
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include gnome-tetravex.local 5include gnome-tetravex.local
diff --git a/etc/gravity-beams-and-evaporating-stars.profile b/etc/gravity-beams-and-evaporating-stars.profile
new file mode 100644
index 000000000..a0ffa0d88
--- /dev/null
+++ b/etc/gravity-beams-and-evaporating-stars.profile
@@ -0,0 +1,44 @@
1# Firejail profile for gravity-beams-and-evaporating-stars
2# Description: a game about hurling asteroids into the sun
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gravity-beams-and-evaporating-stars.local
6# Persistent global definitions
7include globals.local
8
9include disable-common.inc
10include disable-devel.inc
11include disable-exec.inc
12include disable-interpreters.inc
13include disable-passwdmgr.inc
14include disable-programs.inc
15include disable-xdg.inc
16
17whitelist /usr/share/gravity-beams-and-evaporating-stars
18include whitelist-common.inc
19include whitelist-usr-share-common.inc
20include whitelist-var-common.inc
21
22apparmor
23caps.drop all
24net none
25nodbus
26nodvd
27nogroups
28nonewprivs
29noroot
30notv
31nou2f
32novideo
33protocol unix
34seccomp
35shell none
36tracelog
37
38disable-mnt
39private
40private-bin gravity-beams-and-evaporating-stars
41private-cache
42private-dev
43private-etc fonts,machine-id
44private-tmp
diff --git a/etc/hyperrogue.profile b/etc/hyperrogue.profile
new file mode 100644
index 000000000..e6b385de9
--- /dev/null
+++ b/etc/hyperrogue.profile
@@ -0,0 +1,48 @@
1# Firejail profile for hyperrogue
2# Description: An SDL roguelike in a non-euclidean world
3# This file is overwritten after every install/update
4# Persistent local customizations
5include hyperrogue.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/hyperrogue.ini
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19mkfile ${HOME}/hyperrogue.ini
20whitelist ${HOME}/hyperrogue.ini
21whitelist /usr/share/hyperrogue
22include whitelist-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.drop all
28net none
29nodbus
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35nou2f
36novideo
37protocol unix
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private-bin hyperrogue
44private-cache
45private-cwd ${HOME}
46private-dev
47private-etc fonts,machine-id
48private-tmp
diff --git a/etc/jumpnbump-menu.profile b/etc/jumpnbump-menu.profile
new file mode 100644
index 000000000..b1852b015
--- /dev/null
+++ b/etc/jumpnbump-menu.profile
@@ -0,0 +1,15 @@
1# Firejail profile for jumpnbump-menu
2# Description: Level selection and config menu for the Jump 'n Bump game
3# This file is overwritten after every install/update
4# Persistent local customizations
5include jumpnbump-menu.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10include allow-python3.inc
11
12private-bin jumpnbump-menu,python3*
13
14# Redirect
15include jumpnbump.profile
diff --git a/etc/jumpnbump.profile b/etc/jumpnbump.profile
new file mode 100644
index 000000000..c8167e1dc
--- /dev/null
+++ b/etc/jumpnbump.profile
@@ -0,0 +1,47 @@
1# Firejail profile for jumpnbump
2# Description: Cute multiplayer platform game with bunnies
3# This file is overwritten after every install/update
4# Persistent local customizations
5include jumpnbump.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.jumpnbump
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19mkdir ${HOME}/.jumpnbump
20whitelist ${HOME}/.jumpnbump
21whitelist /usr/share/jumpnbump
22include whitelist-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.drop all
28net none
29nodbus
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35nou2f
36novideo
37protocol unix,netlink
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private-bin jumpnbump
44private-cache
45private-dev
46private-etc none
47private-tmp
diff --git a/etc/lightsoff.profile b/etc/lightsoff.profile
index 65c8bd78d..27185709a 100644
--- a/etc/lightsoff.profile
+++ b/etc/lightsoff.profile
@@ -1,5 +1,5 @@
1# Firejail profile for lightsoff 1# Firejail profile for lightsoff
2# Description: Sliding tile puzzle game 2# Description: GNOME Lightsoff game
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include lightsoff.local 5include lightsoff.local
diff --git a/etc/magicor.profile b/etc/magicor.profile
new file mode 100644
index 000000000..c34e7b6f2
--- /dev/null
+++ b/etc/magicor.profile
@@ -0,0 +1,49 @@
1# Firejail profile for magicor
2# Description: Push ice blocks around to extinguish all fires
3# This file is overwritten after every install/update
4# Persistent local customizations
5include magicor.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.magicor
10
11# Allow python (blacklisted by disable-interpreters.inc)
12include allow-python2.inc
13
14include disable-common.inc
15include disable-devel.inc
16include disable-exec.inc
17include disable-interpreters.inc
18include disable-passwdmgr.inc
19include disable-programs.inc
20include disable-xdg.inc
21
22mkdir ${HOME}/.magicor
23whitelist ${HOME}/.magicor
24whitelist /usr/share/magicor
25include whitelist-common.inc
26include whitelist-usr-share-common.inc
27include whitelist-var-common.inc
28
29apparmor
30caps.drop all
31net none
32nodbus
33nodvd
34nogroups
35nonewprivs
36notv
37nou2f
38novideo
39protocol unix
40seccomp
41shell none
42tracelog
43
44disable-mnt
45private-bin magicor,python2*
46private-cache
47private-dev
48private-etc machine-id
49private-tmp
diff --git a/etc/mindless.profile b/etc/mindless.profile
new file mode 100644
index 000000000..4f33404eb
--- /dev/null
+++ b/etc/mindless.profile
@@ -0,0 +1,48 @@
1# Firejail profile for mindless
2# Description: figure out the secret code
3# This file is overwritten after every install/update
4# Persistent local customizations
5include mindless.local
6# Persistent global definitions
7include globals.local
8
9include disable-common.inc
10include disable-devel.inc
11include disable-exec.inc
12include disable-interpreters.inc
13include disable-passwdmgr.inc
14include disable-programs.inc
15include disable-xdg.inc
16
17whitelist /usr/share/mindless
18include whitelist-usr-share-common.inc
19include whitelist-var-common.inc
20
21apparmor
22caps.drop all
23machine-id
24net none
25no3d
26nodbus
27nodvd
28nogroups
29nonewprivs
30noroot
31nosound
32notv
33nou2f
34novideo
35protocol unix
36seccomp
37shell none
38tracelog
39
40disable-mnt
41private
42private-bin mindless
43private-cache
44private-dev
45private-etc fonts
46private-tmp
47
48memory-deny-write-execute
diff --git a/etc/mirrormagic.profile b/etc/mirrormagic.profile
new file mode 100644
index 000000000..8892ca94d
--- /dev/null
+++ b/etc/mirrormagic.profile
@@ -0,0 +1,48 @@
1# Firejail profile for mirrormagic
2# Description: Puzzle game where you steer a beam of light using mirrors
3# This file is overwritten after every install/update
4# Persistent local customizations
5include mirrormagic.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.mirrormagic
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19mkdir ${HOME}/.mirrormagic
20whitelist ${HOME}/.mirrormagic
21whitelist /usr/share/mirrormagic
22include whitelist-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.drop all
28net none
29nodbus
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35nou2f
36novideo
37protocol unix,netlink
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private
44private-bin mirrormagic
45private-cache
46private-dev
47private-etc machine-id
48private-tmp
diff --git a/etc/mrrescue.profile b/etc/mrrescue.profile
new file mode 100644
index 000000000..869a162f8
--- /dev/null
+++ b/etc/mrrescue.profile
@@ -0,0 +1,47 @@
1# Firejail profile for mrrescue
2# Description: Arcade-style fire fighting game
3# This file is overwritten after every install/update
4# Persistent local customizations
5include mrrescue.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.local/share/love
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19mkdir ${HOME}/.local/share/love
20whitelist ${HOME}/.local/share/love
21whitelist /usr/share/mrrescue
22include whitelist-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.drop all
28net none
29nodbus
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35nou2f
36novideo
37protocol unix,netlink
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private-bin love,mrrescue,sh
44private-cache
45private-dev
46private-etc machine-id
47private-tmp
diff --git a/etc/mumble.profile b/etc/mumble.profile
index 94ccbad0c..a16934806 100644
--- a/etc/mumble.profile
+++ b/etc/mumble.profile
@@ -34,7 +34,7 @@ nogroups
34nonewprivs 34nonewprivs
35noroot 35noroot
36notv 36notv
37protocol unix,inet,inet6 37protocol unix,inet,inet6,netlink
38seccomp 38seccomp
39shell none 39shell none
40tracelog 40tracelog
diff --git a/etc/nslookup.profile b/etc/nslookup.profile
index 4aa1cfcbf..9ed6ef1e9 100644
--- a/etc/nslookup.profile
+++ b/etc/nslookup.profile
@@ -21,6 +21,9 @@ include disable-passwdmgr.inc
21include disable-programs.inc 21include disable-programs.inc
22include disable-xdg.inc 22include disable-xdg.inc
23 23
24whitelist ${HOME}/.nslookuprc
25include whitelist-common.inc
26include whitelist-runuser-common.inc
24include whitelist-usr-share-common.inc 27include whitelist-usr-share-common.inc
25include whitelist-var-common.inc 28include whitelist-var-common.inc
26 29
@@ -28,6 +31,7 @@ apparmor
28caps.drop all 31caps.drop all
29ipc-namespace 32ipc-namespace
30machine-id 33machine-id
34memory-deny-write-execute
31netfilter 35netfilter
32no3d 36no3d
33nodbus 37nodbus
@@ -45,7 +49,6 @@ shell none
45tracelog 49tracelog
46 50
47disable-mnt 51disable-mnt
48private
49private-bin bash,nslookup,sh 52private-bin bash,nslookup,sh
50private-dev 53private-dev
51private-tmp 54private-tmp
diff --git a/etc/scorched3d-wrapper.profile b/etc/scorched3d-wrapper.profile
new file mode 100644
index 000000000..3eed8842b
--- /dev/null
+++ b/etc/scorched3d-wrapper.profile
@@ -0,0 +1,5 @@
1# Firejail profile for scorched3d
2# This file is overwritten after every install/update
3
4# Redirect
5include scorched3d.profile
diff --git a/etc/scorchwentbonkers.profile b/etc/scorchwentbonkers.profile
new file mode 100644
index 000000000..fcb3d5f29
--- /dev/null
+++ b/etc/scorchwentbonkers.profile
@@ -0,0 +1,47 @@
1# Firejail profile for scorchwentbonkers
2# Description: Realtime remake of Scorched Earth
3# This file is overwritten after every install/update
4# Persistent local customizations
5include scorchwentbonkers.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.swb.ini
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19mkdir ${HOME}/.swb.ini
20whitelist ${HOME}/.swb.ini
21whitelist /usr/share/scorchwentbonkers
22include whitelist-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.drop all
28net none
29nodbus
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35nou2f
36novideo
37protocol unix
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private-bin scorchwentbonkers
44private-cache
45private-dev
46private-etc alsa,asound.conf,machine-id,pulse
47private-tmp
diff --git a/etc/seahorse-adventures.profile b/etc/seahorse-adventures.profile
new file mode 100644
index 000000000..5fd654eed
--- /dev/null
+++ b/etc/seahorse-adventures.profile
@@ -0,0 +1,48 @@
1# Firejail profile for seahorse-adventures
2# Description: Help barbie the seahorse float on bubbles to the moon
3# This file is overwritten after every install/update
4# Persistent local customizations
5include seahorse-adventures.local
6# Persistent global definitions
7include globals.local
8
9# Allow python (blacklisted by disable-interpreters.inc)
10include allow-python2.inc
11include allow-python3.inc
12
13include disable-common.inc
14include disable-devel.inc
15include disable-exec.inc
16include disable-interpreters.inc
17include disable-passwdmgr.inc
18include disable-programs.inc
19include disable-xdg.inc
20
21whitelist /usr/share/seahorse-adventures
22include whitelist-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.drop all
28net none
29nodbus
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35nou2f
36novideo
37protocol unix
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private
44private-bin python*,seahorse-adventures
45private-cache
46private-dev
47private-etc machine-id
48private-tmp
diff --git a/etc/slack.profile b/etc/slack.profile
index 9a10e38fe..b2828fcb1 100644
--- a/etc/slack.profile
+++ b/etc/slack.profile
@@ -19,16 +19,12 @@ whitelist ${DOWNLOADS}
19include whitelist-common.inc 19include whitelist-common.inc
20include whitelist-var-common.inc 20include whitelist-var-common.inc
21 21
22caps.drop all 22caps.keep sys_admin,sys_chroot
23netfilter 23netfilter
24nodvd 24nodvd
25nogroups 25nogroups
26nonewprivs
27noroot
28notv 26notv
29nou2f 27nou2f
30protocol unix,inet,inet6,netlink
31seccomp !chroot
32shell none 28shell none
33 29
34disable-mnt 30disable-mnt
@@ -36,4 +32,3 @@ private-bin locale,slack
36private-cache 32private-cache
37private-dev 33private-dev
38private-etc alternatives,asound.conf,ca-certificates,crypto-policies,debian_version,fedora-release,fonts,group,ld.so.cache,ld.so.conf,localtime,machine-id,os-release,passwd,pki,pulse,redhat-release,resolv.conf,ssl,system-release,system-release-cpe 34private-etc alternatives,asound.conf,ca-certificates,crypto-policies,debian_version,fedora-release,fonts,group,ld.so.cache,ld.so.conf,localtime,machine-id,os-release,passwd,pki,pulse,redhat-release,resolv.conf,ssl,system-release,system-release-cpe
39private-tmp
diff --git a/etc/ssh.profile b/etc/ssh.profile
index cbd59c6e0..a69fdb0f5 100644
--- a/etc/ssh.profile
+++ b/etc/ssh.profile
@@ -12,6 +12,7 @@ noblacklist /tmp/ssh-*
12noblacklist ${HOME}/.ssh 12noblacklist ${HOME}/.ssh
13# nc can be used as ProxyCommand, e.g. when using tor 13# nc can be used as ProxyCommand, e.g. when using tor
14noblacklist ${PATH}/nc 14noblacklist ${PATH}/nc
15noblacklist ${PATH}/ncat
15 16
16include disable-common.inc 17include disable-common.inc
17include disable-exec.inc 18include disable-exec.inc
diff --git a/etc/steam.profile b/etc/steam.profile
index c6f0ca145..ef927ba89 100644
--- a/etc/steam.profile
+++ b/etc/steam.profile
@@ -36,29 +36,37 @@ include disable-interpreters.inc
36include disable-passwdmgr.inc 36include disable-passwdmgr.inc
37include disable-programs.inc 37include disable-programs.inc
38 38
39mkdir ${HOME}/.config/unity3d
39mkdir ${HOME}/.killingfloor 40mkdir ${HOME}/.killingfloor
40mkdir ${HOME}/.local/share/3909/PapersPlease 41mkdir ${HOME}/.local/share/3909/PapersPlease
41mkdir ${HOME}/.local/share/aspyr-media 42mkdir ${HOME}/.local/share/aspyr-media
42mkdir ${HOME}/.local/share/cdprojektred 43mkdir ${HOME}/.local/share/cdprojektred
43mkdir ${HOME}/.local/share/feral-interactive 44mkdir ${HOME}/.local/share/feral-interactive
45mkdir ${HOME}/.local/share/Paradox Interactive
44mkdir ${HOME}/.local/share/Steam 46mkdir ${HOME}/.local/share/Steam
45mkdir ${HOME}/.local/share/SuperHexagon 47mkdir ${HOME}/.local/share/SuperHexagon
46mkdir ${HOME}/.local/share/Terraria 48mkdir ${HOME}/.local/share/Terraria
47mkdir ${HOME}/.local/share/vpltd 49mkdir ${HOME}/.local/share/vpltd
48mkdir ${HOME}/.local/share/vulkan 50mkdir ${HOME}/.local/share/vulkan
51mkdir ${HOME}/.mbwarband
52mkdir ${HOME}/.paradoxinteractive
49mkdir ${HOME}/.steam 53mkdir ${HOME}/.steam
50mkfile ${HOME}/.steampath 54mkfile ${HOME}/.steampath
51mkfile ${HOME}/.steampid 55mkfile ${HOME}/.steampid
56whitelist ${HOME}/.config/unity3d
52whitelist ${HOME}/.killingfloor 57whitelist ${HOME}/.killingfloor
53whitelist ${HOME}/.local/share/3909/PapersPlease 58whitelist ${HOME}/.local/share/3909/PapersPlease
54whitelist ${HOME}/.local/share/aspyr-media 59whitelist ${HOME}/.local/share/aspyr-media
55whitelist ${HOME}/.local/share/cdprojektred 60whitelist ${HOME}/.local/share/cdprojektred
56whitelist ${HOME}/.local/share/feral-interactive 61whitelist ${HOME}/.local/share/feral-interactive
62whitelist ${HOME}/.local/share/Paradox Interactive
57whitelist ${HOME}/.local/share/Steam 63whitelist ${HOME}/.local/share/Steam
58whitelist ${HOME}/.local/share/SuperHexagon 64whitelist ${HOME}/.local/share/SuperHexagon
59whitelist ${HOME}/.local/share/Terraria 65whitelist ${HOME}/.local/share/Terraria
60whitelist ${HOME}/.local/share/vpltd 66whitelist ${HOME}/.local/share/vpltd
61whitelist ${HOME}/.local/share/vulkan 67whitelist ${HOME}/.local/share/vulkan
68whitelist ${HOME}/.mbwarband
69whitelist ${HOME}/.paradoxinteractive
62whitelist ${HOME}/.steam 70whitelist ${HOME}/.steam
63whitelist ${HOME}/.steampath 71whitelist ${HOME}/.steampath
64whitelist ${HOME}/.steampid 72whitelist ${HOME}/.steampid
diff --git a/etc/swell-foop.profile b/etc/swell-foop.profile
new file mode 100644
index 000000000..127d413ad
--- /dev/null
+++ b/etc/swell-foop.profile
@@ -0,0 +1,19 @@
1# Firejail profile for swell-foop
2# Description: GNOME colored tiles puzzle game
3# This file is overwritten after every install/update
4# Persistent local customizations
5include swell-foop.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.local/share/swell-foop
10
11mkdir ${HOME}/.local/share/swell-foop
12whitelist ${HOME}/.local/share/swell-foop
13
14whitelist /usr/share/swell-foop
15
16private-bin swell-foop
17
18# Redirect
19include gnome_games-common.profile
diff --git a/etc/unknown-horizons.profile b/etc/unknown-horizons.profile
index 1e623f9ce..489de67bb 100644
--- a/etc/unknown-horizons.profile
+++ b/etc/unknown-horizons.profile
@@ -16,10 +16,14 @@ include disable-programs.inc
16mkdir ${HOME}/.unknown-horizons 16mkdir ${HOME}/.unknown-horizons
17whitelist ${HOME}/.unknown-horizons 17whitelist ${HOME}/.unknown-horizons
18include whitelist-common.inc 18include whitelist-common.inc
19include whitelist-runuser-common.inc
20whitelist /usr/share/unknown-horizons
21include whitelist-usr-share-common.inc
19include whitelist-var-common.inc 22include whitelist-var-common.inc
20 23
21apparmor 24apparmor
22caps.drop all 25caps.drop all
26# memory-deny-write-execute - doesn't work
23nodvd 27nodvd
24nogroups 28nogroups
25nonewprivs 29nonewprivs
diff --git a/etc/whitelist-usr-share-common.inc b/etc/whitelist-usr-share-common.inc
index 8a0f6774a..193b00a2a 100644
--- a/etc/whitelist-usr-share-common.inc
+++ b/etc/whitelist-usr-share-common.inc
@@ -50,6 +50,7 @@ whitelist /usr/share/qt4
50whitelist /usr/share/qt5 50whitelist /usr/share/qt5
51whitelist /usr/share/sounds 51whitelist /usr/share/sounds
52whitelist /usr/share/tcl8.6 52whitelist /usr/share/tcl8.6
53whitelist /usr/share/tcltk
53whitelist /usr/share/terminfo 54whitelist /usr/share/terminfo
54whitelist /usr/share/texlive 55whitelist /usr/share/texlive
55whitelist /usr/share/texmf 56whitelist /usr/share/texmf
diff --git a/etc/wordwarvi.profile b/etc/wordwarvi.profile
new file mode 100644
index 000000000..ea750e172
--- /dev/null
+++ b/etc/wordwarvi.profile
@@ -0,0 +1,49 @@
1# Firejail profile for wordwarvi
2# Description: Old school '80's style side scrolling space shoot'em up game.
3# This file is overwritten after every install/update
4# Persistent local customizations
5include wordwarvi.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.wordwarvi
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19mkdir ${HOME}/.wordwarvi
20whitelist ${HOME}/.wordwarvi
21whitelist /usr/share/wordwarvi
22include whitelist-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.drop all
28net none
29no3d
30nodbus
31nodvd
32nogroups
33nonewprivs
34noroot
35notv
36nou2f
37novideo
38protocol unix
39seccomp
40shell none
41tracelog
42
43disable-mnt
44private
45private-bin wordwarvi
46private-cache
47private-dev
48private-etc alsa,asound.conf,machine-id,pulse
49private-tmp
diff --git a/etc/xbill.profile b/etc/xbill.profile
new file mode 100644
index 000000000..fc29dced6
--- /dev/null
+++ b/etc/xbill.profile
@@ -0,0 +1,51 @@
1# Firejail profile for xbill
2# Description: save your computers from Wingdows [TM] virus
3# This file is overwritten after every install/update
4# Persistent local customizations
5include xbill.local
6# Persistent global definitions
7include globals.local
8
9include disable-common.inc
10include disable-devel.inc
11include disable-exec.inc
12include disable-interpreters.inc
13include disable-passwdmgr.inc
14include disable-programs.inc
15include disable-xdg.inc
16
17whitelist /usr/share/xbill
18whitelist /var/games/xbill/scores
19include whitelist-common.inc
20include whitelist-usr-share-common.inc
21include whitelist-var-common.inc
22
23apparmor
24caps.drop all
25machine-id
26net none
27no3d
28nodbus
29nodvd
30nogroups
31nonewprivs
32noroot
33nosound
34notv
35nou2f
36novideo
37protocol unix
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private
44private-bin xbill
45private-cache
46private-dev
47private-etc none
48private-tmp
49
50memory-deny-write-execute
51read-only ${HOME}
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index e79fd4b14..9d9d4012a 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -80,6 +80,7 @@ bleachbit
80blender 80blender
81blender-2.8 81blender-2.8
82bless 82bless
83blobwars
83bluefish 84bluefish
84bnox 85bnox
85brackets 86brackets
@@ -212,6 +213,7 @@ firefox-esr
212firefox-nightly 213firefox-nightly
213firefox-wayland 214firefox-wayland
214firefox-x11 215firefox-x11
216five-or-more
215flacsplt 217flacsplt
216flameshot 218flameshot
217flashpeak-slimjet 219flashpeak-slimjet
@@ -271,6 +273,7 @@ gnome-contacts
271gnome-documents 273gnome-documents
272gnome-font-viewer 274gnome-font-viewer
273gnome-hexgl 275gnome-hexgl
276gnome-klotski
274gnome-latex 277gnome-latex
275gnome-logs 278gnome-logs
276gnome-mahjongg 279gnome-mahjongg
@@ -309,6 +312,7 @@ gpicview
309gpredict 312gpredict
310gradio 313gradio
311gramps 314gramps
315gravity-beams-and-evaporating-stars
312gthumb 316gthumb
313guayadeque 317guayadeque
314gucharmap 318gucharmap
@@ -322,6 +326,7 @@ hexchat
322highlight 326highlight
323host 327host
324hugin 328hugin
329hyperrogue
325iagno 330iagno
326icecat 331icecat
327icedove 332icedove
@@ -341,6 +346,8 @@ jd-gui
341jdownloader 346jdownloader
342jerry 347jerry
343jitsi 348jitsi
349jumpnbump
350jumpnbump-menu
344k3b 351k3b
345kaffeine 352kaffeine
346kalgebra 353kalgebra
@@ -409,6 +416,7 @@ lximage-qt
409lxmusic 416lxmusic
410lynx 417lynx
411macrofusion 418macrofusion
419magicor
412manaplus 420manaplus
413masterpdfeditor 421masterpdfeditor
414masterpdfeditor4 422masterpdfeditor4
@@ -429,7 +437,9 @@ mendeleydesktop
429meteo-qt 437meteo-qt
430midori 438midori
431min 439min
440mindless
432minetest 441minetest
442mirrormagic
433mousepad 443mousepad
434mp3splt 444mp3splt
435mp3splt-gtk 445mp3splt-gtk
@@ -449,6 +459,7 @@ mpg123-strip
449mplayer 459mplayer
450mpsyt 460mpsyt
451mpv 461mpv
462mrrescue
452ms-excel 463ms-excel
453ms-office 464ms-office
454ms-onenote 465ms-onenote
@@ -578,9 +589,12 @@ runenpass.sh
578sayonara 589sayonara
579scallion 590scallion
580scorched3d 591scorched3d
592scorched3d-wrapper
593scorchwentbonkers
581scribus 594scribus
582sdat2img 595sdat2img
583seahorse 596seahorse
597seahorse-adventures
584seahorse-daemon 598seahorse-daemon
585seahorse-tool 599seahorse-tool
586seamonkey 600seamonkey
@@ -620,6 +634,7 @@ subdownloader
620supertux2 634supertux2
621supertuxkart 635supertuxkart
622surf 636surf
637swell-foop
623sylpheed 638sylpheed
624synfigstudio 639synfigstudio
625sysprof 640sysprof
@@ -735,7 +750,9 @@ wireshark-qt
735wpp 750wpp
736wps 751wps
737wpspdf 752wpspdf
753wordwarvi
738x2goclient 754x2goclient
755xbill
739xcalc 756xcalc
740xchat 757xchat
741xed 758xed
diff --git a/src/profstats/main.c b/src/profstats/main.c
index 7c6bfce9d..ac02c69bc 100644
--- a/src/profstats/main.c
+++ b/src/profstats/main.c
@@ -38,6 +38,7 @@ static int cnt_whitelistvar = 0; // include whitelist-var-common.inc
38static int cnt_whitelistrunuser = 0; // include whitelist-runuser-common.inc 38static int cnt_whitelistrunuser = 0; // include whitelist-runuser-common.inc
39static int cnt_whitelistusrshare = 0; // include whitelist-usr-share-common.inc 39static int cnt_whitelistusrshare = 0; // include whitelist-usr-share-common.inc
40static int cnt_ssh = 0; 40static int cnt_ssh = 0;
41static int cnt_mdwx = 0;
41 42
42static int level = 0; 43static int level = 0;
43static int arg_debug = 0; 44static int arg_debug = 0;
@@ -51,6 +52,7 @@ static int arg_whitelistvar = 0;
51static int arg_whitelistrunuser = 0; 52static int arg_whitelistrunuser = 0;
52static int arg_whitelistusrshare = 0; 53static int arg_whitelistusrshare = 0;
53static int arg_ssh = 0; 54static int arg_ssh = 0;
55static int arg_mdwx = 0;
54 56
55static char *profile = NULL; 57static char *profile = NULL;
56 58
@@ -66,6 +68,7 @@ static void usage(void) {
66 printf(" --private-dev - print profiles without private-dev\n"); 68 printf(" --private-dev - print profiles without private-dev\n");
67 printf(" --private-tmp - print profiles without private-tmp\n"); 69 printf(" --private-tmp - print profiles without private-tmp\n");
68 printf(" --seccomp - print profiles without seccomp\n"); 70 printf(" --seccomp - print profiles without seccomp\n");
71 printf(" --memory-deny-write-execute - profile without it\n");
69 printf(" --whitelist-var - print profiles without \"include whitelist-var-common.inc\"\n"); 72 printf(" --whitelist-var - print profiles without \"include whitelist-var-common.inc\"\n");
70 printf(" --whitelist-runuser - print profiles without \"include whitelist-runuser-common.inc\"\n"); 73 printf(" --whitelist-runuser - print profiles without \"include whitelist-runuser-common.inc\"\n");
71 printf(" --whitelist-usrshare - print profiles without \"include whitelist-usr-share-common.inc\"\n"); 74 printf(" --whitelist-usrshare - print profiles without \"include whitelist-usr-share-common.inc\"\n");
@@ -114,6 +117,8 @@ void process_file(const char *fname) {
114 cnt_whitelistusrshare++; 117 cnt_whitelistusrshare++;
115 else if (strncmp(ptr, "include disable-common.inc", 26) == 0) 118 else if (strncmp(ptr, "include disable-common.inc", 26) == 0)
116 cnt_ssh++; 119 cnt_ssh++;
120 else if (strncmp(ptr, "memory-deny-write-execute", 25) == 0)
121 cnt_mdwx++;
117 else if (strncmp(ptr, "net none", 8) == 0) 122 else if (strncmp(ptr, "net none", 8) == 0)
118 cnt_netnone++; 123 cnt_netnone++;
119 else if (strncmp(ptr, "apparmor", 8) == 0) 124 else if (strncmp(ptr, "apparmor", 8) == 0)
@@ -161,6 +166,8 @@ int main(int argc, char **argv) {
161 arg_caps = 1; 166 arg_caps = 1;
162 else if (strcmp(argv[i], "--seccomp") == 0) 167 else if (strcmp(argv[i], "--seccomp") == 0)
163 arg_seccomp = 1; 168 arg_seccomp = 1;
169 else if (strcmp(argv[i], "--memory-deny-write-execute") == 0)
170 arg_mdwx = 1;
164 else if (strcmp(argv[i], "--noexec") == 0) 171 else if (strcmp(argv[i], "--noexec") == 0)
165 arg_noexec = 1; 172 arg_noexec = 1;
166 else if (strcmp(argv[i], "--private-dev") == 0) 173 else if (strcmp(argv[i], "--private-dev") == 0)
@@ -205,6 +212,7 @@ int main(int argc, char **argv) {
205 int whitelistrunuser = cnt_whitelistrunuser; 212 int whitelistrunuser = cnt_whitelistrunuser;
206 int whitelistusrshare = cnt_whitelistusrshare; 213 int whitelistusrshare = cnt_whitelistusrshare;
207 int ssh = cnt_ssh; 214 int ssh = cnt_ssh;
215 int mdwx = cnt_mdwx;
208 216
209 // process file 217 // process file
210 profile = argv[i]; 218 profile = argv[i];
@@ -242,6 +250,8 @@ int main(int argc, char **argv) {
242 printf("No include whitelist-usr-share-common.inc found in %s\n", argv[i]); 250 printf("No include whitelist-usr-share-common.inc found in %s\n", argv[i]);
243 if (arg_ssh && ssh == cnt_ssh) 251 if (arg_ssh && ssh == cnt_ssh)
244 printf("No include disable-common.inc found in %s\n", argv[i]); 252 printf("No include disable-common.inc found in %s\n", argv[i]);
253 if (arg_mdwx && mdwx == cnt_mdwx)
254 printf("No memory-deny-write-execute found in %s\n", argv[i]);
245 255
246 assert(level == 0); 256 assert(level == 0);
247 } 257 }
@@ -255,6 +265,7 @@ int main(int argc, char **argv) {
255 printf(" seccomp\t\t\t%d\n", cnt_seccomp); 265 printf(" seccomp\t\t\t%d\n", cnt_seccomp);
256 printf(" capabilities\t\t%d\n", cnt_caps); 266 printf(" capabilities\t\t%d\n", cnt_caps);
257 printf(" noexec\t\t\t%d (include disable-exec.inc)\n", cnt_noexec); 267 printf(" noexec\t\t\t%d (include disable-exec.inc)\n", cnt_noexec);
268 printf(" memory-deny-write-execute\t%d\n", cnt_mdwx);
258 printf(" apparmor\t\t\t%d\n", cnt_apparmor); 269 printf(" apparmor\t\t\t%d\n", cnt_apparmor);
259 printf(" private-dev\t\t\t%d\n", cnt_privatedev); 270 printf(" private-dev\t\t\t%d\n", cnt_privatedev);
260 printf(" private-tmp\t\t\t%d\n", cnt_privatetmp); 271 printf(" private-tmp\t\t\t%d\n", cnt_privatetmp);