aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/hasher-common.profile
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-03-08 17:16:37 +0100
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-03-14 21:26:37 +0100
commitf7e232c1bef82898982564e61b1e1d89e91f87f2 (patch)
tree6c9c963078398a3213203beb3c68dc212c84d810 /etc/profile-a-l/hasher-common.profile
parentprofile fixes (diff)
downloadfirejail-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.profile60
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.
3include hasher-common.local
4
5# common profile for hasher/checksum tools
6
7blacklist ${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
18include disable-devel.inc
19include disable-exec.inc
20include disable-interpreters.inc
21include 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
24include disable-shell.inc
25include 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
29apparmor
30caps.drop all
31ipc-namespace
32machine-id
33net none
34no3d
35nodvd
36nogroups
37nonewprivs
38noroot
39nosound
40notv
41nou2f
42novideo
43protocol unix
44seccomp
45seccomp.block-secondary
46shell none
47tracelog
48x11 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
52private-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
56dbus-user none
57dbus-system none
58
59memory-deny-write-execute
60read-only ${HOME}