diff options
author | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2017-07-29 10:10:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-29 10:10:28 -0500 |
commit | d8a3cc9edd742d50ac88d05c7976129ffbdf3987 (patch) | |
tree | 36aac2952e34733bf53d79cc3bb02f597698a3e5 | |
parent | merges (diff) | |
parent | Add a profile for arm (diff) | |
download | firejail-d8a3cc9edd742d50ac88d05c7976129ffbdf3987.tar.gz firejail-d8a3cc9edd742d50ac88d05c7976129ffbdf3987.tar.zst firejail-d8a3cc9edd742d50ac88d05c7976129ffbdf3987.zip |
Merge pull request #1411 from SpotComms/arm
Add a profile for arm
-rw-r--r-- | etc/arm.profile | 42 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/etc/arm.profile b/etc/arm.profile new file mode 100644 index 000000000..3000c35d7 --- /dev/null +++ b/etc/arm.profile | |||
@@ -0,0 +1,42 @@ | |||
1 | # Persistent global definitions go here | ||
2 | include /etc/firejail/globals.local | ||
3 | |||
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/arm.local | ||
7 | |||
8 | # Firejail profile for arm | ||
9 | |||
10 | noblacklist ${HOME}/.arm | ||
11 | |||
12 | include /etc/firejail/disable-common.inc | ||
13 | include /etc/firejail/disable-devel.inc | ||
14 | include /etc/firejail/disable-passwdmgr.inc | ||
15 | include /etc/firejail/disable-programs.inc | ||
16 | |||
17 | mkdir ${HOME}/.arm | ||
18 | whitelist ${HOME}/.arm | ||
19 | include /etc/firejail/whitelist-common.inc | ||
20 | |||
21 | caps.drop all | ||
22 | ipc-namespace | ||
23 | netfilter | ||
24 | no3d | ||
25 | nogroups | ||
26 | nonewprivs | ||
27 | noroot | ||
28 | nosound | ||
29 | novideo | ||
30 | protocol unix,inet,inet6 | ||
31 | seccomp | ||
32 | shell none | ||
33 | tracelog | ||
34 | |||
35 | disable-mnt | ||
36 | #private-bin arm,tor,sh,python2,python2.7,ps,lsof,ldconfig | ||
37 | private-dev | ||
38 | private-etc tor,passwd | ||
39 | private-tmp | ||
40 | |||
41 | noexec ${HOME} | ||
42 | noexec /tmp | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index b3614bf64..eb611034f 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -9,6 +9,7 @@ amarok | |||
9 | android-studio | 9 | android-studio |
10 | arduino | 10 | arduino |
11 | ark | 11 | ark |
12 | arm | ||
12 | atom | 13 | atom |
13 | atom-beta | 14 | atom-beta |
14 | atool | 15 | atool |