diff options
author | alkim0 <alkim@mit.edu> | 2022-09-04 16:47:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-04 23:47:21 +0000 |
commit | 529b38ffd29fd115f4e0eee131904e3b1ea50f17 (patch) | |
tree | a306b6ef2235b949ee9c627fe91dc76e477918b6 /etc/profile-a-l | |
parent | landlock: support in firejail --version (diff) | |
download | firejail-529b38ffd29fd115f4e0eee131904e3b1ea50f17.tar.gz firejail-529b38ffd29fd115f4e0eee131904e3b1ea50f17.tar.zst firejail-529b38ffd29fd115f4e0eee131904e3b1ea50f17.zip |
Add profile for chafa (#5355)
Co-authored-by: Albert Kim <alkim@alkim.org>
Diffstat (limited to 'etc/profile-a-l')
-rw-r--r-- | etc/profile-a-l/chafa.profile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/etc/profile-a-l/chafa.profile b/etc/profile-a-l/chafa.profile new file mode 100644 index 000000000..b042ac189 --- /dev/null +++ b/etc/profile-a-l/chafa.profile | |||
@@ -0,0 +1,55 @@ | |||
1 | # Firejail profile for chafa | ||
2 | # Description: A terminal-based image viewer and image-to-text converter. | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include chafa.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | blacklist ${RUNUSER} | ||
10 | blacklist /usr/libexec | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-exec.inc | ||
15 | include disable-interpreters.inc | ||
16 | include disable-proc.inc | ||
17 | include disable-programs.inc | ||
18 | include disable-shell.inc | ||
19 | include disable-write-mnt.inc | ||
20 | |||
21 | include whitelist-run-common.inc | ||
22 | include whitelist-runuser-common.inc | ||
23 | # Add the following to your chafa.local if you do not need to view images in | ||
24 | # /usr/share. | ||
25 | #include whitelist-usr-share-common.inc | ||
26 | include whitelist-var-common.inc | ||
27 | |||
28 | apparmor | ||
29 | caps.drop all | ||
30 | machine-id | ||
31 | net none | ||
32 | no3d | ||
33 | nodvd | ||
34 | nogroups | ||
35 | noinput | ||
36 | nonewprivs | ||
37 | noroot | ||
38 | nosound | ||
39 | notv | ||
40 | nou2f | ||
41 | novideo | ||
42 | seccomp socket | ||
43 | seccomp.block-secondary | ||
44 | tracelog | ||
45 | x11 none | ||
46 | |||
47 | private-bin chafa | ||
48 | private-cache | ||
49 | private-dev | ||
50 | private-tmp | ||
51 | |||
52 | dbus-user none | ||
53 | dbus-system none | ||
54 | |||
55 | read-only ${HOME} | ||