diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-03-02 04:46:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-02 04:46:11 +0000 |
commit | 10590c8d4a567c3455d9e4565427ff1073eaf577 (patch) | |
tree | f4cfd1a98b3995a35ec51294be4c7cbde0340c60 | |
parent | Fix mpDris2 for Debian/Ubuntu (#2495) (diff) | |
download | firejail-10590c8d4a567c3455d9e4565427ff1073eaf577.tar.gz firejail-10590c8d4a567c3455d9e4565427ff1073eaf577.tar.zst firejail-10590c8d4a567c3455d9e4565427ff1073eaf577.zip |
Add new profile for geekbench (#2498)
* Create geekbench.profile
* Add geekbench to firecfg
-rw-r--r-- | etc/geekbench.profile | 50 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
2 files changed, 51 insertions, 0 deletions
diff --git a/etc/geekbench.profile b/etc/geekbench.profile new file mode 100644 index 000000000..b0bae1e73 --- /dev/null +++ b/etc/geekbench.profile | |||
@@ -0,0 +1,50 @@ | |||
1 | # Firejail profile for geekbench | ||
2 | # Description: A cross-platform benchmark that measures processor and memory performance | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include geekbench.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | include disable-common.inc | ||
10 | include disable-devel.inc | ||
11 | include disable-interpreters.inc | ||
12 | include disable-passwdmgr.inc | ||
13 | include disable-programs.inc | ||
14 | include disable-xdg.inc | ||
15 | |||
16 | apparmor | ||
17 | caps.drop all | ||
18 | hostname geekbench | ||
19 | ipc-namespace | ||
20 | machine-id | ||
21 | netfilter | ||
22 | no3d | ||
23 | nodbus | ||
24 | nodvd | ||
25 | nogroups | ||
26 | nonewprivs | ||
27 | noroot | ||
28 | nosound | ||
29 | notv | ||
30 | nou2f | ||
31 | novideo | ||
32 | protocol unix,inet,inet6 | ||
33 | seccomp | ||
34 | shell none | ||
35 | tracelog | ||
36 | |||
37 | disable-mnt | ||
38 | private-bin bash,geekbenc*,sh | ||
39 | private-cache | ||
40 | private-dev | ||
41 | private-etc alternatives,groups,passwd,lsb-release | ||
42 | private-lib libstdc++.so.* | ||
43 | private-tmp | ||
44 | |||
45 | # memory-deny-write-execute - Breaks on Arch | ||
46 | noexec ${HOME} | ||
47 | noexec /tmp | ||
48 | |||
49 | # never write anything | ||
50 | read-only ${HOME} | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 8d8070b79..c4283bb20 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -174,6 +174,7 @@ gconf-editor | |||
174 | geany | 174 | geany |
175 | geary | 175 | geary |
176 | gedit | 176 | gedit |
177 | geekbench | ||
177 | geeqie | 178 | geeqie |
178 | ghb | 179 | ghb |
179 | ghostwriter | 180 | ghostwriter |