diff options
author | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-03-08 17:16:37 +0100 |
---|---|---|
committer | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-03-14 21:26:37 +0100 |
commit | f7e232c1bef82898982564e61b1e1d89e91f87f2 (patch) | |
tree | 6c9c963078398a3213203beb3c68dc212c84d810 /etc/profile-a-l/hasher-common.profile | |
parent | profile fixes (diff) | |
download | firejail-f7e232c1bef82898982564e61b1e1d89e91f87f2.tar.gz firejail-f7e232c1bef82898982564e61b1e1d89e91f87f2.tar.zst firejail-f7e232c1bef82898982564e61b1e1d89e91f87f2.zip |
Add profile for checksum tools
* Oops! Thanks for catching.
* Add quiet
Diffstat (limited to 'etc/profile-a-l/hasher-common.profile')
-rw-r--r-- | etc/profile-a-l/hasher-common.profile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/etc/profile-a-l/hasher-common.profile b/etc/profile-a-l/hasher-common.profile new file mode 100644 index 000000000..2f684349d --- /dev/null +++ b/etc/profile-a-l/hasher-common.profile | |||
@@ -0,0 +1,60 @@ | |||
1 | # This file is overwritten during software install. | ||
2 | # Persistent customizations should go in a .local file. | ||
3 | include hasher-common.local | ||
4 | |||
5 | # common profile for hasher/checksum tools | ||
6 | |||
7 | blacklist ${RUNUSER} | ||
8 | |||
9 | # WARNING: | ||
10 | # Users can (un)restrict file access for **all** hashers by commenting/uncommenting the needed | ||
11 | # include file(s) here or by putting those into hasher-common.local. | ||
12 | # Another option is to do this **per hasher** in the relevant <hasher>.local. | ||
13 | # Just beware that things tend to break when overtightening profiles. For example, because you only | ||
14 | # need to hash/check files in ${DOWNLOADS}, other applications may need access to ${HOME}/.local/share. | ||
15 | |||
16 | # Uncomment the next line (or put it into your hasher-common.local) if you don't need to hash files in disable-common.inc. | ||
17 | #include disable-common.inc | ||
18 | include disable-devel.inc | ||
19 | include disable-exec.inc | ||
20 | include disable-interpreters.inc | ||
21 | include disable-passwdmgr.inc | ||
22 | # Uncomment the next line (or put it into your hasher-common.local) if you don't need to hash files in disable-programs.inc. | ||
23 | #include disable-programs.inc | ||
24 | include disable-shell.inc | ||
25 | include disable-write-mnt.inc | ||
26 | # Uncomment the next line (or put it into your hasher-common.local) if you don't need to hash files in disable-xdg.inc. | ||
27 | #include disable-xdg.inc | ||
28 | |||
29 | apparmor | ||
30 | caps.drop all | ||
31 | ipc-namespace | ||
32 | machine-id | ||
33 | net none | ||
34 | no3d | ||
35 | nodvd | ||
36 | nogroups | ||
37 | nonewprivs | ||
38 | noroot | ||
39 | nosound | ||
40 | notv | ||
41 | nou2f | ||
42 | novideo | ||
43 | protocol unix | ||
44 | seccomp | ||
45 | seccomp.block-secondary | ||
46 | shell none | ||
47 | tracelog | ||
48 | x11 none | ||
49 | |||
50 | # Uncomment the next line (or put it into your hasher-common.local) if you don't need to hash files in /tmp. | ||
51 | #private-cache | ||
52 | private-dev | ||
53 | # Uncomment the next line (or put it into your hasher-common.local) if you don't need to hash files in /tmp. | ||
54 | #private-tmp | ||
55 | |||
56 | dbus-user none | ||
57 | dbus-system none | ||
58 | |||
59 | memory-deny-write-execute | ||
60 | read-only ${HOME} | ||