aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/snap.profile2
-rw-r--r--smtube.profile37
-rw-r--r--src/fseccomp/syscall.c1
3 files changed, 37 insertions, 3 deletions
diff --git a/etc/snap.profile b/etc/snap.profile
index 238dffeab..38aef7c23 100644
--- a/etc/snap.profile
+++ b/etc/snap.profile
@@ -14,5 +14,3 @@ include /etc/firejail/disable-programs.inc
14whitelist ${DOWNLOADS} 14whitelist ${DOWNLOADS}
15whitelist ~/snap 15whitelist ~/snap
16include /etc/firejail/whitelist-common.inc 16include /etc/firejail/whitelist-common.inc
17nodvd
18notv
diff --git a/smtube.profile b/smtube.profile
new file mode 100644
index 000000000..2694dd5b0
--- /dev/null
+++ b/smtube.profile
@@ -0,0 +1,37 @@
1# Firejail profile for smtube
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/smtube.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8noblacklist ${HOME}/.config/smplayer
9noblacklist ${HOME}/.config/smtube
10noblacklist ${HOME}/.config/mpv
11noblacklist ${HOME}/.mplayer
12noblacklist ${HOME}/.config/vlc
13noblacklist ${HOME}/.local/share/vlc
14
15include /etc/firejail/disable-common.inc
16include /etc/firejail/disable-devel.inc
17include /etc/firejail/disable-passwdmgr.inc
18include /etc/firejail/disable-programs.inc
19
20caps.drop all
21netfilter
22nodvd
23notv
24novideo
25nogroups
26nonewprivs
27noroot
28protocol unix,inet,inet6,netlink
29seccomp
30shell none
31
32#no private-bin because users can add their own players to smtube and that would prevent that
33private-dev
34private-tmp
35
36noexec ${HOME}
37noexec /tmp
diff --git a/src/fseccomp/syscall.c b/src/fseccomp/syscall.c
index abdedb957..d0692b2ef 100644
--- a/src/fseccomp/syscall.c
+++ b/src/fseccomp/syscall.c
@@ -110,7 +110,6 @@ static const SyscallGroupList sysgroups[] = {
110 { .name = "@default", .list = 110 { .name = "@default", .list =
111 "@cpu-emulation," 111 "@cpu-emulation,"
112 "@debug," 112 "@debug,"
113 "@module,"
114 "@obsolete," 113 "@obsolete,"
115 "@privileged," 114 "@privileged,"
116 "@resources," 115 "@resources,"