aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
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 /etc/profile-m-z
parentwhitelisting /var/games by default (diff)
downloadfirejail-4c5f558995acb202a4ae3aee08022da854b6ebb2.tar.gz
firejail-4c5f558995acb202a4ae3aee08022da854b6ebb2.tar.zst
firejail-4c5f558995acb202a4ae3aee08022da854b6ebb2.zip
several kids programs
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/tuxtype.profile56
-rw-r--r--etc/profile-m-z/typespeed.profile48
2 files changed, 104 insertions, 0 deletions
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