diff options
author | kortewegdevries <62639087+kortewegdevries@users.noreply.github.com> | 2020-07-21 13:09:34 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-21 07:39:34 +0000 |
commit | 30927eb246fbc0d76d9e65e42469476caf6f2af8 (patch) | |
tree | 4a65b52606f1d22c38acf70e1a705d4bc40748dd /etc | |
parent | fix #3404 (#3511) (diff) | |
download | firejail-30927eb246fbc0d76d9e65e42469476caf6f2af8.tar.gz firejail-30927eb246fbc0d76d9e65e42469476caf6f2af8.tar.zst firejail-30927eb246fbc0d76d9e65e42469476caf6f2af8.zip |
New profile for homebank (#3525)
* Add files via upload
New profile for homebank
* Update etc/profile-a-l/homebank.profile
Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
* Update etc/profile-a-l/homebank.profile
Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
* Update homebank.profile
* Update firecfg.config
homebank added
* Update disable-programs.inc
Added blacklist.
* Update homebank.profile
Added disable-shell,removed whitelisted docs
* Update disable-programs.inc
Changed sorting
* Update homebank.profile
Changed sorting
* Added cawbird profile
Initial
* Revert "Added cawbird profile"
This reverts commit 6b045976adf62a91882236600c55926af34b6a52.
Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-a-l/homebank.profile | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 865eefb18..5ad60dc9f 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -236,6 +236,7 @@ blacklist ${HOME}/.config/gthumb | |||
236 | blacklist ${HOME}/.config/gummi | 236 | blacklist ${HOME}/.config/gummi |
237 | blacklist ${HOME}/.config/gwenviewrc | 237 | blacklist ${HOME}/.config/gwenviewrc |
238 | blacklist ${HOME}/.config/hexchat | 238 | blacklist ${HOME}/.config/hexchat |
239 | blacklist ${HOME}/.config/homebank | ||
239 | blacklist ${HOME}/.config/i2p | 240 | blacklist ${HOME}/.config/i2p |
240 | blacklist ${HOME}/.config/inkscape | 241 | blacklist ${HOME}/.config/inkscape |
241 | blacklist ${HOME}/.config/inox | 242 | blacklist ${HOME}/.config/inox |
diff --git a/etc/profile-a-l/homebank.profile b/etc/profile-a-l/homebank.profile new file mode 100644 index 000000000..8e600a2d7 --- /dev/null +++ b/etc/profile-a-l/homebank.profile | |||
@@ -0,0 +1,59 @@ | |||
1 | # Firejail profile for homebank | ||
2 | # Description: Personal finance manager | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include homebank.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/homebank | ||
10 | |||
11 | include disable-common.inc | ||
12 | include disable-devel.inc | ||
13 | include disable-exec.inc | ||
14 | include disable-interpreters.inc | ||
15 | include disable-programs.inc | ||
16 | include disable-passwdmgr.inc | ||
17 | include disable-shell.inc | ||
18 | include disable-xdg.inc | ||
19 | |||
20 | mkdir ${HOME}/.config/homebank | ||
21 | whitelist ${DOWNLOADS} | ||
22 | whitelist ${HOME}/.config/homebank | ||
23 | whitelist /usr/share/homebank | ||
24 | include whitelist-common.inc | ||
25 | include whitelist-runuser-common.inc | ||
26 | include whitelist-usr-share-common.inc | ||
27 | include whitelist-var-common.inc | ||
28 | |||
29 | apparmor | ||
30 | caps.drop all | ||
31 | machine-id | ||
32 | # net none | ||
33 | netfilter | ||
34 | nodvd | ||
35 | no3d | ||
36 | nodvd | ||
37 | nogroups | ||
38 | nonewprivs | ||
39 | noroot | ||
40 | nosound | ||
41 | notv | ||
42 | nou2f | ||
43 | novideo | ||
44 | protocol unix,inet,inet6 | ||
45 | seccomp | ||
46 | shell none | ||
47 | tracelog | ||
48 | |||
49 | disable-mnt | ||
50 | private-bin homebank | ||
51 | private-cache | ||
52 | private-dev | ||
53 | private-etc alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,gtk-3.0,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale.alias,locale.conf,localtime,machine-id,mime.types,nsswitch.conf,pki,pulse,resolv.conf,selinux,ssl,X11 | ||
54 | private-tmp | ||
55 | |||
56 | dbus-user none | ||
57 | dbus-system none | ||
58 | |||
59 | # memory-deny-write-execute | ||