aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2024-04-29 12:50:46 -0400
committerLibravatar netblue30 <netblue30@protonmail.com>2024-04-29 12:50:46 -0400
commit4c5f558995acb202a4ae3aee08022da854b6ebb2 (patch)
treec4a3e9f202bcf828ba5bcd437f478ca4f1e6270b
parentwhitelisting /var/games by default (diff)
downloadfirejail-4c5f558995acb202a4ae3aee08022da854b6ebb2.tar.gz
firejail-4c5f558995acb202a4ae3aee08022da854b6ebb2.tar.zst
firejail-4c5f558995acb202a4ae3aee08022da854b6ebb2.zip
several kids programs
-rw-r--r--etc/inc/disable-programs.inc4
-rw-r--r--etc/profile-a-l/alienblaster.profile55
-rw-r--r--etc/profile-a-l/geki2.profile49
-rw-r--r--etc/profile-a-l/geki3.profile49
-rw-r--r--etc/profile-a-l/lbreakouthd.profile59
-rw-r--r--etc/profile-m-z/tuxtype.profile56
-rw-r--r--etc/profile-m-z/typespeed.profile48
-rw-r--r--src/firecfg/firecfg.config6
8 files changed, 326 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index a44ad340b..1f373279c 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -28,6 +28,8 @@ blacklist ${HOME}/.ZAP
28blacklist ${HOME}/.aMule 28blacklist ${HOME}/.aMule
29blacklist ${HOME}/.abook 29blacklist ${HOME}/.abook
30blacklist ${HOME}/.addressbook 30blacklist ${HOME}/.addressbook
31blacklist ${HOME}/.alienblaster
32blacklist ${HOME}/.alienblaster_highscore
31blacklist ${HOME}/.alpine-smime 33blacklist ${HOME}/.alpine-smime
32blacklist ${HOME}/.ammonite 34blacklist ${HOME}/.ammonite
33blacklist ${HOME}/.android 35blacklist ${HOME}/.android
@@ -851,6 +853,7 @@ blacklist ${HOME}/.klatexformula
851blacklist ${HOME}/.klei 853blacklist ${HOME}/.klei
852blacklist ${HOME}/.kodi 854blacklist ${HOME}/.kodi
853blacklist ${HOME}/.lastpass 855blacklist ${HOME}/.lastpass
856blacklist ${HOME}/.lbreakouthd
854blacklist ${HOME}/.lettura 857blacklist ${HOME}/.lettura
855blacklist ${HOME}/.librewolf 858blacklist ${HOME}/.librewolf
856blacklist ${HOME}/.lincity-ng 859blacklist ${HOME}/.lincity-ng
@@ -1187,6 +1190,7 @@ blacklist ${HOME}/.torcs
1187blacklist ${HOME}/.tremulous 1190blacklist ${HOME}/.tremulous
1188blacklist ${HOME}/.ts3client 1191blacklist ${HOME}/.ts3client
1189blacklist ${HOME}/.tuxguitar* 1192blacklist ${HOME}/.tuxguitar*
1193blacklist ${HOME}/.tuxtype
1190blacklist ${HOME}/.tvbrowser 1194blacklist ${HOME}/.tvbrowser
1191blacklist ${HOME}/.unknown-horizons 1195blacklist ${HOME}/.unknown-horizons
1192blacklist ${HOME}/.viking 1196blacklist ${HOME}/.viking
diff --git a/etc/profile-a-l/alienblaster.profile b/etc/profile-a-l/alienblaster.profile
new file mode 100644
index 000000000..0e0478a49
--- /dev/null
+++ b/etc/profile-a-l/alienblaster.profile
@@ -0,0 +1,55 @@
1# Firejail profile for alienblaster
2# Persistent local customizations
3include alienblaster.local
4# Persistent global definitions
5include globals.local
6
7noblacklist ${HOME}/.alienblaster
8noblacklist ${HOME}/.alienblaster_highscore
9
10include disable-common.inc
11include disable-devel.inc
12include disable-exec.inc
13include disable-interpreters.inc
14include disable-programs.inc
15include disable-xdg.inc
16
17mkfile ${HOME}/.alienblaster_highscore
18whitelist ${HOME}/.alienblaster_highscore
19mkdir ${HOME}/.alienblaster
20whitelist ${HOME}/.alienblaster
21include whitelist-common.inc
22include whitelist-run-common.inc
23whitelist ${RUNUSER}/pulse
24include whitelist-runuser-common.inc
25whitelist /usr/share/games/alienblaster
26whitelist /usr/share/timidity
27include whitelist-usr-share-common.inc
28include whitelist-var-common.inc
29
30apparmor
31caps.drop all
32ipc-namespace
33netfilter
34net none
35nodvd
36noinput
37nonewprivs
38noroot
39notv
40nou2f
41novideo
42protocol unix
43seccomp
44tracelog
45
46disable-mnt
47private-dev
48private-etc @x11,@sound,@games
49private-tmp
50
51dbus-user none
52dbus-system none
53
54memory-deny-write-execute
55restrict-namespaces
diff --git a/etc/profile-a-l/geki2.profile b/etc/profile-a-l/geki2.profile
new file mode 100644
index 000000000..32ff9c8af
--- /dev/null
+++ b/etc/profile-a-l/geki2.profile
@@ -0,0 +1,49 @@
1# Firejail profile for geki2
2# Persistent local customizations
3include geki2.local
4# Persistent global definitions
5include globals.local
6
7include disable-common.inc
8include disable-devel.inc
9include disable-exec.inc
10include disable-interpreters.inc
11include disable-programs.inc
12include disable-shell.inc
13include disable-xdg.inc
14
15include whitelist-run-common.inc
16include whitelist-runuser-common.inc
17whitelist /usr/share/games/geki2
18include whitelist-usr-share-common.inc
19writable-var # game scores stored under /var/games
20include whitelist-var-common.inc
21
22apparmor
23caps.drop all
24ipc-namespace
25net none
26netfilter
27nodvd
28noinput
29nonewprivs
30noroot
31notv
32nou2f
33novideo
34protocol unix
35seccomp
36tracelog
37
38disable-mnt
39private
40private-bin geki2
41private-dev
42private-etc @x11,@sound,@games
43private-tmp
44
45dbus-user none
46dbus-system none
47
48memory-deny-write-execute
49restrict-namespaces
diff --git a/etc/profile-a-l/geki3.profile b/etc/profile-a-l/geki3.profile
new file mode 100644
index 000000000..de2167724
--- /dev/null
+++ b/etc/profile-a-l/geki3.profile
@@ -0,0 +1,49 @@
1# Firejail profile for geki3
2# Persistent local customizations
3include geki3.local
4# Persistent global definitions
5include globals.local
6
7include disable-common.inc
8include disable-devel.inc
9include disable-exec.inc
10include disable-interpreters.inc
11include disable-programs.inc
12include disable-shell.inc
13include disable-xdg.inc
14
15include whitelist-run-common.inc
16include whitelist-runuser-common.inc
17whitelist /usr/share/games/geki3
18include whitelist-usr-share-common.inc
19writable-var # game scores stored under /var/games
20include whitelist-var-common.inc
21
22apparmor
23caps.drop all
24ipc-namespace
25net none
26netfilter
27nodvd
28noinput
29nonewprivs
30noroot
31notv
32nou2f
33novideo
34protocol unix
35seccomp
36tracelog
37
38disable-mnt
39private
40private-bin geki3
41private-dev
42private-etc @x11,@sound,@games
43private-tmp
44
45dbus-user none
46dbus-system none
47
48memory-deny-write-execute
49restrict-namespaces
diff --git a/etc/profile-a-l/lbreakouthd.profile b/etc/profile-a-l/lbreakouthd.profile
new file mode 100644
index 000000000..095a3839c
--- /dev/null
+++ b/etc/profile-a-l/lbreakouthd.profile
@@ -0,0 +1,59 @@
1# Firejail profile for lbreakouthd
2# Persistent local customizations
3include lbreakouthd.local
4# Persistent global definitions
5include globals.local
6
7# Note: this profile requires the current user to be a member of games group
8
9noblacklist ${HOME}/.lbreakouthd
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-programs.inc
16include disable-shell.inc
17include disable-xdg.inc
18
19mkdir ${HOME}/.lbreakouthd
20whitelist ${HOME}/.lbreakouthd
21include whitelist-common.inc
22
23whitelist /run/udev/control
24whitelist /run/host/container-manager
25include whitelist-run-common.inc
26whitelist ${RUNUSER}/pulse
27include whitelist-runuser-common.inc
28whitelist /usr/share/games/lbreakouthd
29include whitelist-usr-share-common.inc
30writable-var # game scores stored under /var/games
31include whitelist-var-common.inc
32
33apparmor
34caps.drop all
35ipc-namespace
36net none
37netfilter
38nodvd
39noinput
40nonewprivs
41noroot
42notv
43nou2f
44novideo
45protocol unix
46seccomp
47tracelog
48
49disable-mnt
50private-bin lbreakouthd
51private-dev
52private-etc @x11,@sound,@games
53private-tmp
54
55dbus-user none
56dbus-system none
57
58memory-deny-write-execute
59restrict-namespaces
diff --git a/etc/profile-m-z/tuxtype.profile b/etc/profile-m-z/tuxtype.profile
new file mode 100644
index 000000000..51e514529
--- /dev/null
+++ b/etc/profile-m-z/tuxtype.profile
@@ -0,0 +1,56 @@
1# Firejail profile for tuxtype
2# Persistent local customizations
3include tuxtype.local
4# Persistent global definitions
5include globals.local
6
7noblacklist ${HOME}/.tuxtype
8
9include disable-common.inc
10include disable-devel.inc
11include disable-exec.inc
12include disable-interpreters.inc
13include disable-programs.inc
14include disable-shell.inc
15include disable-xdg.inc
16
17mkdir ${HOME}/.tuxtype
18whitelist ${HOME}/.tuxtype
19include whitelist-common.inc
20
21
22include whitelist-run-common.inc
23whitelist ${RUNUSER}/pulse
24include whitelist-runuser-common.inc
25whitelist /usr/share/tuxtype
26include whitelist-usr-share-common.inc
27writable-var # game scores stored under /var/games
28include whitelist-var-common.inc
29
30apparmor
31caps.drop all
32ipc-namespace
33net none
34netfilter
35nodvd
36noinput
37nonewprivs
38noroot
39notv
40nou2f
41novideo
42protocol unix
43seccomp
44tracelog
45
46disable-mnt
47private-bin tuxtype
48private-dev
49private-etc @x11,@sound,@games,tuxtype
50private-tmp
51
52dbus-user none
53dbus-system none
54
55memory-deny-write-execute
56restrict-namespaces
diff --git a/etc/profile-m-z/typespeed.profile b/etc/profile-m-z/typespeed.profile
new file mode 100644
index 000000000..08263ccb0
--- /dev/null
+++ b/etc/profile-m-z/typespeed.profile
@@ -0,0 +1,48 @@
1# Firejail profile for typespeed
2# Persistent local customizations
3include typespeed.local
4# Persistent global definitions
5include globals.local
6
7# Note: this profile requires the current user to be a member of games group
8
9include disable-common.inc
10include disable-devel.inc
11include disable-exec.inc
12include disable-interpreters.inc
13include disable-programs.inc
14include disable-xdg.inc
15
16include whitelist-run-common.inc
17include whitelist-runuser-common.inc
18whitelist /usr/share/typespeed
19include whitelist-usr-share-common.inc
20writable-var # game scores stored under /var/games
21include whitelist-var-common.inc
22
23apparmor
24caps.drop all
25ipc-namespace
26netfilter
27nodvd
28noinput
29nonewprivs
30noroot
31notv
32nou2f
33novideo
34protocol unix,inet,inet6,netlink
35seccomp
36tracelog
37
38disable-mnt
39private
40private-dev
41private-etc @x11,@sound,@games
42private-tmp
43
44dbus-user none
45dbus-system none
46
47memory-deny-write-execute
48restrict-namespaces
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index c97db228d..43554cc1e 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -43,6 +43,7 @@ abrowser
43akonadi_control 43akonadi_control
44akregator 44akregator
45alacarte 45alacarte
46alienblaster
46alpine 47alpine
47alpinef 48alpinef
48amarok 49amarok
@@ -320,6 +321,8 @@ geany
320gedit 321gedit
321geekbench 322geekbench
322geeqie 323geeqie
324geki2
325geki3
323gfeeds 326gfeeds
324gh 327gh
325ghb 328ghb
@@ -493,6 +496,7 @@ ktouch
493kube 496kube
494#kwin_x11 497#kwin_x11
495kwrite 498kwrite
499lbreakouthd
496lbry-viewer 500lbry-viewer
497lbry-viewer-gtk 501lbry-viewer-gtk
498leafpad 502leafpad
@@ -920,9 +924,11 @@ tshark
920tuir 924tuir
921tutanota-desktop 925tutanota-desktop
922tuxguitar 926tuxguitar
927tuxtype
923tvbrowser 928tvbrowser
924tvnamer 929tvnamer
925twitch 930twitch
931typespeed
926udiskie 932udiskie
927uefitool 933uefitool
928uget-gtk 934uget-gtk