aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/strawberry.profile
diff options
context:
space:
mode:
authorLibravatar Amin Vakil <info@aminvakil.com>2020-06-11 13:06:14 +0430
committerLibravatar GitHub <noreply@github.com>2020-06-11 08:36:14 +0000
commit89d77cc34191308681d49be5f4e7413e0f48e9b5 (patch)
treeed0aafa2c2b369e87a096b7055099c3a03dc388c /etc/profile-m-z/strawberry.profile
parentFix qt5ct colour schemes and QSS (#3463) (diff)
downloadfirejail-89d77cc34191308681d49be5f4e7413e0f48e9b5.tar.gz
firejail-89d77cc34191308681d49be5f4e7413e0f48e9b5.tar.zst
firejail-89d77cc34191308681d49be5f4e7413e0f48e9b5.zip
Add strawberry profile (#3459)
* Add strawberry profile * Fix comment * Add to disable-programs.inc & firecfg.config * Add /home/amin/.local/share/strawberry to profile and disable-programs * Various hardening for strawberry profile Signed-off-by: Amin Vakil <info@aminvakil.com> * Change nodbus to dbus-system none in strawberry profile * Add dbus-user none to strawberry profile * Add whitelist-var-common, sort private-etc * Sort, Add wruc, Add netlink to protocol in strawberry profile * Remove dbus-user none to allow using gnome functions for various usage in strawberry profile
Diffstat (limited to 'etc/profile-m-z/strawberry.profile')
-rw-r--r--etc/profile-m-z/strawberry.profile49
1 files changed, 49 insertions, 0 deletions
diff --git a/etc/profile-m-z/strawberry.profile b/etc/profile-m-z/strawberry.profile
new file mode 100644
index 000000000..cd36c0d41
--- /dev/null
+++ b/etc/profile-m-z/strawberry.profile
@@ -0,0 +1,49 @@
1# Firejail profile for strawberry
2# Description: A music player and music collection organizer
3# This file is overwritten after every install/update
4# Persistent local customizations
5include strawberry.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/strawberry
10noblacklist ${HOME}/.config/strawberry
11noblacklist ${HOME}/.local/share/strawberry
12noblacklist ${MUSIC}
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
22include whitelist-runuser-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.drop all
28netfilter
29nodvd
30nogroups
31nonewprivs
32noroot
33notv
34nou2f
35novideo
36protocol unix,inet,inet6,netlink
37# blacklisting of ioprio_set system calls breaks strawberry
38seccomp !ioprio_set
39shell none
40tracelog
41
42disable-mnt
43private-bin strawberry,strawberry-tagreader
44private-cache
45private-dev
46private-etc ca-certificates,crypto-policies,fonts,host.conf,hostname,hosts,nsswitch.conf,pki,resolv.conf,ssl
47private-tmp
48
49dbus-system none