Debian Codegraph @

etc/profile-a-l/curl.profile

raw
1 # Firejail profile for curl
2 # Description: Command line tool for transferring data with URL syntax
3 # This file is overwritten after every install/update
4 quiet
5 # Persistent local customizations
6 include curl.local
7 # Persistent global definitions
8 include globals.local
9
10 # If you use nvm, add the below lines to your curl.local
11 #ignore read-only ${HOME}/.nvm
12 #noblacklist ${HOME}/.nvm
13
14 noblacklist ${HOME}/.config/curlrc # since curl 7.73.0
15 # curl 7.74.0 introduces experimental support for HSTS cache
16 # https://daniel.haxx.se/blog/2020/11/03/hsts-your-curl/
17 # Technically this file can be anywhere but let's assume users have it in ${HOME}/.curl-hsts.
18 # If your setup diverts, add 'blacklist /path/to/curl/hsts/file' to your disable-programs.local
19 # and 'noblacklist /path/to/curl/hsts/file' to curl.local to keep the sandbox logic intact.
20 noblacklist ${HOME}/.curl-hsts
21 noblacklist ${HOME}/.curlrc
22 noblacklist ${HOME}/.netrc
23
24 blacklist ${RUNUSER}
25
26 include disable-common.inc
27 include disable-exec.inc
28 include disable-programs.inc
29 include disable-x11.inc
30 # Depending on workflow you can add 'include disable-xdg.inc' to your curl.local.
31 #include disable-xdg.inc
32
33 include whitelist-usr-share-common.inc
34 include whitelist-var-common.inc
35
36 apparmor
37 caps.drop all
38 ipc-namespace
39 machine-id
40 netfilter
41 no3d
42 nodvd
43 nogroups
44 noinput
45 nonewprivs
46 noroot
47 nosound
48 notv
49 nou2f
50 novideo
51 protocol inet,inet6
52 seccomp
53 tracelog
54
55 #private-bin curl
56 private-cache
57 private-dev
58 #private-etc alternatives,ca-certificates,crypto-policies,pki,resolv.conf,ssl
59 private-etc @tls-ca
60 private-tmp
61
62 dbus-user none
63 dbus-system none
64
65 restrict-namespaces