diff options
author | 2018-01-26 00:28:09 -0500 | |
---|---|---|
committer | 2018-01-26 00:28:09 -0500 | |
commit | 0f58750321313e978937bf8fcdc6a627c40f7e6a (patch) | |
tree | 9c68ffb8a7e2b38ef7bcfdecd9ddbe5a6d623359 /etc | |
parent | fix compile problem ##1750 (diff) | |
download | firejail-0f58750321313e978937bf8fcdc6a627c40f7e6a.tar.gz firejail-0f58750321313e978937bf8fcdc6a627c40f7e6a.tar.zst firejail-0f58750321313e978937bf8fcdc6a627c40f7e6a.zip |
Add a profile for Red Eclipse
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/redeclipse.profile | 37 | ||||
-rw-r--r-- | etc/xonotic.profile | 1 |
3 files changed, 39 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 6288f14e2..4d9c4d85f 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -416,6 +416,7 @@ blacklist ${HOME}/.passwd-s3fs | |||
416 | blacklist ${HOME}/.pingus | 416 | blacklist ${HOME}/.pingus |
417 | blacklist ${HOME}/.purple | 417 | blacklist ${HOME}/.purple |
418 | blacklist ${HOME}/.qemu-launcher | 418 | blacklist ${HOME}/.qemu-launcher |
419 | blacklist ${HOME}/.redeclipse | ||
419 | blacklist ${HOME}/.remmina | 420 | blacklist ${HOME}/.remmina |
420 | blacklist ${HOME}/.repo_.gitconfig.json | 421 | blacklist ${HOME}/.repo_.gitconfig.json |
421 | blacklist ${HOME}/.repoconfig | 422 | blacklist ${HOME}/.repoconfig |
diff --git a/etc/redeclipse.profile b/etc/redeclipse.profile new file mode 100644 index 000000000..f0a993c54 --- /dev/null +++ b/etc/redeclipse.profile | |||
@@ -0,0 +1,37 @@ | |||
1 | # Firejail profile for redeclipse | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/redeclipse.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.redeclipse | ||
9 | |||
10 | include /etc/firejail/disable-common.inc | ||
11 | include /etc/firejail/disable-devel.inc | ||
12 | include /etc/firejail/disable-passwdmgr.inc | ||
13 | include /etc/firejail/disable-programs.inc | ||
14 | |||
15 | mkdir ${HOME}/.redeclipse | ||
16 | whitelist ${HOME}/.redeclipse | ||
17 | include /etc/firejail/whitelist-common.inc | ||
18 | include /etc/firejail/whitelist-var-common.inc | ||
19 | |||
20 | caps.drop all | ||
21 | netfilter | ||
22 | nodvd | ||
23 | nogroups | ||
24 | nonewprivs | ||
25 | noroot | ||
26 | notv | ||
27 | novideo | ||
28 | protocol unix,inet,inet6 | ||
29 | seccomp | ||
30 | shell none | ||
31 | |||
32 | disable-mnt | ||
33 | private-dev | ||
34 | private-tmp | ||
35 | |||
36 | noexec ${HOME} | ||
37 | noexec /tmp | ||
diff --git a/etc/xonotic.profile b/etc/xonotic.profile index d17d2b612..7a466db9b 100644 --- a/etc/xonotic.profile +++ b/etc/xonotic.profile | |||
@@ -15,6 +15,7 @@ include /etc/firejail/disable-programs.inc | |||
15 | mkdir ${HOME}/.xonotic | 15 | mkdir ${HOME}/.xonotic |
16 | whitelist ${HOME}/.xonotic | 16 | whitelist ${HOME}/.xonotic |
17 | include /etc/firejail/whitelist-common.inc | 17 | include /etc/firejail/whitelist-common.inc |
18 | include /etc/firejail/whitelist-var-common.inc | ||
18 | 19 | ||
19 | caps.drop all | 20 | caps.drop all |
20 | netfilter | 21 | netfilter |