diff options
author | 2020-01-04 12:13:20 +0000 | |
---|---|---|
committer | 2020-01-04 12:13:20 +0000 | |
commit | 108eea75093e8a9fe8c9bd30027bf35e3d7559a1 (patch) | |
tree | 2163fe47a83e7241b3893c378b05eb26f5158d20 /etc | |
parent | Gentoo fixes (#3120) (diff) | |
download | firejail-108eea75093e8a9fe8c9bd30027bf35e3d7559a1.tar.gz firejail-108eea75093e8a9fe8c9bd30027bf35e3d7559a1.tar.zst firejail-108eea75093e8a9fe8c9bd30027bf35e3d7559a1.zip |
Add barrier profile (#3115)
* Add barrier.profile
* Add newline before special options
* Modify description
* Add disable mount to barrier.profile
* Address feedback from rusty-snake
* Remove stray carriage return
* Add noexec for /home/user and /tmp
* Don't blacklist openssl
* Remove redundant rules
Diffstat (limited to 'etc')
-rw-r--r-- | etc/barrier.profile | 45 | ||||
-rw-r--r-- | etc/disable-programs.inc | 2 |
2 files changed, 47 insertions, 0 deletions
diff --git a/etc/barrier.profile b/etc/barrier.profile new file mode 100644 index 000000000..a35bb1e09 --- /dev/null +++ b/etc/barrier.profile | |||
@@ -0,0 +1,45 @@ | |||
1 | # Firejail profile for barrier | ||
2 | # Description: Keyboard and mouse sharing application | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include barrier.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/Debauchee/Barrier.conf | ||
10 | noblacklist ${HOME}/.local/share/barrier | ||
11 | noblacklist ${PATH}/openssl | ||
12 | |||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-xdg.inc | ||
20 | |||
21 | include whitelist-var-common.inc | ||
22 | |||
23 | caps.drop all | ||
24 | machine-id | ||
25 | netfilter | ||
26 | no3d | ||
27 | nodvd | ||
28 | nogroups | ||
29 | nonewprivs | ||
30 | noroot | ||
31 | nosound | ||
32 | notv | ||
33 | nou2f | ||
34 | novideo | ||
35 | protocol unix,inet,inet6,netlink | ||
36 | seccomp | ||
37 | shell none | ||
38 | tracelog | ||
39 | |||
40 | disable-mnt | ||
41 | private-dev | ||
42 | private-cache | ||
43 | private-tmp | ||
44 | |||
45 | memory-deny-write-execute | ||
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 2712051ad..1c97ed8d6 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -71,6 +71,7 @@ blacklist ${HOME}/.config/Code | |||
71 | blacklist ${HOME}/.config/Code - OSS | 71 | blacklist ${HOME}/.config/Code - OSS |
72 | blacklist ${HOME}/.config/Code Industry | 72 | blacklist ${HOME}/.config/Code Industry |
73 | blacklist ${HOME}/.config/Cryptocat | 73 | blacklist ${HOME}/.config/Cryptocat |
74 | blacklist ${HOME}/.config/Debauchee/Barrier.conf | ||
74 | blacklist ${HOME}/.config/Enox | 75 | blacklist ${HOME}/.config/Enox |
75 | blacklist ${HOME}/.config/Franz | 76 | blacklist ${HOME}/.config/Franz |
76 | blacklist ${HOME}/.config/FreeCAD | 77 | blacklist ${HOME}/.config/FreeCAD |
@@ -488,6 +489,7 @@ blacklist ${HOME}/.local/share/apps/korganizer | |||
488 | blacklist ${HOME}/.local/share/aspyr-media | 489 | blacklist ${HOME}/.local/share/aspyr-media |
489 | blacklist ${HOME}/.local/share/autokey | 490 | blacklist ${HOME}/.local/share/autokey |
490 | blacklist ${HOME}/.local/share/baloo | 491 | blacklist ${HOME}/.local/share/baloo |
492 | blacklist ${HOME}/.local/share/barrier | ||
491 | blacklist ${HOME}/.local/share/bibletime | 493 | blacklist ${HOME}/.local/share/bibletime |
492 | blacklist ${HOME}/.local/share/caja-python | 494 | blacklist ${HOME}/.local/share/caja-python |
493 | blacklist ${HOME}/.local/share/cantata | 495 | blacklist ${HOME}/.local/share/cantata |