diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-02-24 20:57:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-24 20:57:43 +0000 |
commit | df06a306dec52c6992dcdd4b33495b7ed873a200 (patch) | |
tree | 304deb097d2860a7720c46376d1dd54e36112669 /etc | |
parent | Harden clipit.profile (#2452) (diff) | |
download | firejail-df06a306dec52c6992dcdd4b33495b7ed873a200.tar.gz firejail-df06a306dec52c6992dcdd4b33495b7ed873a200.tar.zst firejail-df06a306dec52c6992dcdd4b33495b7ed873a200.zip |
Create new dconf/gsettings profiles (#2453)
* Create dconf.profile
* Create gsettings.profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/dconf.profile | 49 | ||||
-rw-r--r-- | etc/gsettings.profile | 11 |
2 files changed, 60 insertions, 0 deletions
diff --git a/etc/dconf.profile b/etc/dconf.profile new file mode 100644 index 000000000..a0bb5626d --- /dev/null +++ b/etc/dconf.profile | |||
@@ -0,0 +1,49 @@ | |||
1 | # Firejail profile for dconf | ||
2 | # Description: Configuration database system | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include dconf.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | mkdir ${HOME}/.config/dconf | ||
10 | whitelist ${HOME}/.config/dconf | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-interpreters.inc | ||
15 | include disable-passwdmgr.inc | ||
16 | include disable-programs.inc | ||
17 | include disable-xdg.inc | ||
18 | |||
19 | apparmor | ||
20 | caps.drop all | ||
21 | ipc-namespace | ||
22 | machine-id | ||
23 | net none | ||
24 | no3d | ||
25 | # nodbus - D-Bus is needed to commit changes to dconf | ||
26 | nodvd | ||
27 | nogroups | ||
28 | nonewprivs | ||
29 | noroot | ||
30 | nosound | ||
31 | notv | ||
32 | nou2f | ||
33 | novideo | ||
34 | protocol unix | ||
35 | seccomp | ||
36 | shell none | ||
37 | tracelog | ||
38 | |||
39 | disable-mnt | ||
40 | private-bin dconf,gsettings | ||
41 | private-cache | ||
42 | private-dev | ||
43 | private-etc alternatives,dconf | ||
44 | private-lib | ||
45 | private-tmp | ||
46 | |||
47 | memory-deny-write-execute | ||
48 | noexec ${HOME} | ||
49 | noexec /tmp | ||
diff --git a/etc/gsettings.profile b/etc/gsettings.profile new file mode 100644 index 000000000..2203fac15 --- /dev/null +++ b/etc/gsettings.profile | |||
@@ -0,0 +1,11 @@ | |||
1 | # Firejail profile for gsettings | ||
2 | # Description: GSettings configuration tool | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include gsettings.local | ||
6 | # Persistent global definitions | ||
7 | # added by included profile | ||
8 | #include globals.local | ||
9 | |||
10 | # Redirect | ||
11 | include dconf.profile | ||