Debian Codegraph @

etc/profile-a-l/hexchat.profile

raw
1 # Firejail profile for hexchat
2 # Description: IRC client for X based on X-Chat 2
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include hexchat.local
6 # Persistent global definitions
7 include globals.local
8
9 noblacklist ${HOME}/.config/hexchat
10
11 # Allow /bin/sh (blacklisted by disable-shell.inc)
12 include allow-bin-sh.inc
13
14 # Allow lua (blacklisted by disable-interpreters.inc)
15 include allow-lua.inc
16
17 # Allow perl (blacklisted by disable-interpreters.inc)
18 include allow-perl.inc
19
20 # Allow python (blacklisted by disable-interpreters.inc)
21 include allow-python2.inc
22 include allow-python3.inc
23
24 # uses libgdk-pixbuf and/or glycin - see #6906
25 #blacklist /usr/libexec
26
27 include disable-common.inc
28 include disable-devel.inc
29 include disable-exec.inc
30 include disable-interpreters.inc
31 include disable-proc.inc
32 include disable-programs.inc
33 include disable-shell.inc
34 include disable-xdg.inc
35
36 mkdir ${HOME}/.config/hexchat
37 whitelist ${DOWNLOADS}
38 whitelist ${HOME}/.config/hexchat
39 include whitelist-common.inc
40 include whitelist-run-common.inc
41 include whitelist-runuser-common.inc
42 include whitelist-usr-share-common.inc
43 include whitelist-var-common.inc
44
45 caps.drop all
46 #machine-id # breaks sound
47 netfilter
48 no3d
49 nodvd
50 nogroups
51 noinput
52 nonewprivs
53 noprinters
54 noroot
55 notv
56 nou2f
57 novideo
58 protocol unix,inet,inet6
59 seccomp
60 seccomp.block-secondary
61 tracelog
62
63 disable-mnt
64 # If you need Lua and/or Perl support, add the relevant binaries from
65 # allow-lua.inc/allow-perl.inc to private-bin in your hexchat.local.
66 private-bin hexchat,python*,sh
67 private-dev
68 #private-lib # python problems
69 private-tmp
70
71 dbus-user filter
72 dbus-user.own org.hexchat.service
73 dbus-system none
74
75 #memory-deny-write-execute # breaks python
76 restrict-namespaces