diff options
author | 2019-03-01 00:17:43 +0000 | |
---|---|---|
committer | 2019-03-01 00:17:43 +0000 | |
commit | f12bd3cf566c85190537e73e938636800d425e83 (patch) | |
tree | 68f8f6593ac877bb3b43039ebfe33ddabe320903 | |
parent | Add new profile for netactview (#2484) (diff) | |
download | firejail-f12bd3cf566c85190537e73e938636800d425e83.tar.gz firejail-f12bd3cf566c85190537e73e938636800d425e83.tar.zst firejail-f12bd3cf566c85190537e73e938636800d425e83.zip |
Add new profile for gnome-nettool (#2485)
* Create gnome-nettool.profile
* Add gnome-nettool to firecfg
-rw-r--r-- | etc/gnome-nettool.profile | 49 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
2 files changed, 50 insertions, 0 deletions
diff --git a/etc/gnome-nettool.profile b/etc/gnome-nettool.profile new file mode 100644 index 000000000..585fb9a20 --- /dev/null +++ b/etc/gnome-nettool.profile | |||
@@ -0,0 +1,49 @@ | |||
1 | # Firejail profile for gnome-nettool | ||
2 | # Description: Graphical interface for various networking tools | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include gnome-nettool.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 | include whitelist-common.inc | ||
17 | include whitelist-var-common.inc | ||
18 | |||
19 | caps.keep net_raw | ||
20 | ipc-namespace | ||
21 | machine-id | ||
22 | netfilter | ||
23 | no3d | ||
24 | nodbus | ||
25 | nodvd | ||
26 | nogroups | ||
27 | # ping needs to elevate privileges, noroot and nonewprivs will kill it | ||
28 | #nonewprivs | ||
29 | #noroot | ||
30 | nosound | ||
31 | notv | ||
32 | nou2f | ||
33 | novideo | ||
34 | #seccomp | ||
35 | #shell none | ||
36 | |||
37 | disable-mnt | ||
38 | #private-bin gnome-nettool | ||
39 | private-cache | ||
40 | private-dev | ||
41 | #private-etc alternatives | ||
42 | private-lib libbind9.so.*,libcrypto.so.*,libdns.so.*,libirs.so.*,liblua.so.*,libssh2.so.*,libssl.so.* | ||
43 | private-tmp | ||
44 | |||
45 | noexec ${HOME} | ||
46 | noexec /tmp | ||
47 | |||
48 | # never write anything | ||
49 | read-only ${HOME} | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 11a147636..9664d2198 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -198,6 +198,7 @@ gnome-maps | |||
198 | gnome-mplayer | 198 | gnome-mplayer |
199 | gnome-mpv | 199 | gnome-mpv |
200 | gnome-music | 200 | gnome-music |
201 | gnome-nettool | ||
201 | gnome-photos | 202 | gnome-photos |
202 | gnome-recipes | 203 | gnome-recipes |
203 | gnome-twitch | 204 | gnome-twitch |