aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2019-03-20 03:07:43 -0400
committerLibravatar Tad <tad@spotco.us>2019-03-20 03:07:43 -0400
commitd7435c29e35cf7114b57e35d7708a1b864c07f00 (patch)
tree3582d4b8a99c0ae5120b32883e71bb8b002a0690 /etc
parentHarden easystroke (#2606) (diff)
downloadfirejail-d7435c29e35cf7114b57e35d7708a1b864c07f00.tar.gz
firejail-d7435c29e35cf7114b57e35d7708a1b864c07f00.tar.zst
firejail-d7435c29e35cf7114b57e35d7708a1b864c07f00.zip
New profiles: Maelstrom and ostrichrider
Diffstat (limited to 'etc')
-rw-r--r--etc/Maelstrom.profile43
-rw-r--r--etc/disable-programs.inc2
-rw-r--r--etc/ostrichriders.profile46
3 files changed, 91 insertions, 0 deletions
diff --git a/etc/Maelstrom.profile b/etc/Maelstrom.profile
new file mode 100644
index 000000000..cee49111e
--- /dev/null
+++ b/etc/Maelstrom.profile
@@ -0,0 +1,43 @@
1# Firejail profile for Maelstrom
2# Description: A space combat game
3# This file is overwritten after every install/update
4# Persistent local customizations
5include Maelstrom.local
6# Persistent global definitions
7include globals.local
8
9noblacklist /var/lib/games/Maelstrom-Scores
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
19whitelist /var/lib/games
20include whitelist-common.inc
21include whitelist-var-common.inc
22
23caps.drop all
24ipc-namespace
25net none
26nodbus
27nodvd
28nogroups
29#nonewprivs
30#noroot
31notv
32nou2f
33novideo
34#protocol unix
35#seccomp
36shell none
37tracelog
38
39disable-mnt
40private-bin Maelstrom
41private-cache
42private-dev
43private-tmp
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 976c3610e..b8ecd4b13 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -538,6 +538,7 @@ blacklist ${HOME}/.openshot
538blacklist ${HOME}/.openshot_qt 538blacklist ${HOME}/.openshot_qt
539blacklist ${HOME}/.opera 539blacklist ${HOME}/.opera
540blacklist ${HOME}/.opera-beta 540blacklist ${HOME}/.opera-beta
541blacklist ${HOME}/.ostrichriders
541blacklist ${HOME}/.pingus 542blacklist ${HOME}/.pingus
542blacklist ${HOME}/.purple 543blacklist ${HOME}/.purple
543blacklist ${HOME}/.qemu-launcher 544blacklist ${HOME}/.qemu-launcher
@@ -695,3 +696,4 @@ blacklist ${HOME}/.cache/yandex-browser
695blacklist ${HOME}/.cache/yandex-browser-beta 696blacklist ${HOME}/.cache/yandex-browser-beta
696 697
697blacklist /var/games/nethack 698blacklist /var/games/nethack
699blacklist /var/lib/games/Maelstrom-Scores
diff --git a/etc/ostrichriders.profile b/etc/ostrichriders.profile
new file mode 100644
index 000000000..4eedddefd
--- /dev/null
+++ b/etc/ostrichriders.profile
@@ -0,0 +1,46 @@
1# Firejail profile for ostrichriders
2# Description: Knights flying on ostriches compete against other riders
3# This file is overwritten after every install/update
4# Persistent local customizations
5include ostrichriders.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.ostrichriders
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}/.ostrichriders
20whitelist ${HOME}/.ostrichriders
21include whitelist-common.inc
22include whitelist-var-common.inc
23
24caps.drop all
25ipc-namespace
26net none
27nodbus
28nodvd
29nogroups
30nonewprivs
31noroot
32notv
33nou2f
34novideo
35# protocol seems to have a huge impact on performance
36#protocol unix
37seccomp
38shell none
39tracelog
40
41disable-mnt
42private-bin ostrichriders
43private-cache
44# private-dev should be commented for controllers
45private-dev
46private-tmp