aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/unbound.profile
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-03-22 13:44:53 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-03-24 03:42:59 -0300
commit04efbb27631e2f4abb5f1c0a915612e8cc98397c (patch)
tree3b0c5d360a796880024a1c14e251522fb36ea5d7 /etc/profile-m-z/unbound.profile
parentsstmp.profile: sort disable includes (diff)
downloadfirejail-04efbb27631e2f4abb5f1c0a915612e8cc98397c.tar.gz
firejail-04efbb27631e2f4abb5f1c0a915612e8cc98397c.tar.zst
firejail-04efbb27631e2f4abb5f1c0a915612e8cc98397c.zip
profiles: replace x11 socket blacklist with disable-X11.inc
Replace all occurrences of `blacklist /tmp/.X11-unix` with `include disable-X11.inc`, which blacklists more X11-related files. Commands used to search and replace: $ git grep -Ilz '^blacklist /tmp/.X11-unix' -- \ etc/profile*/*.profile | xargs -0 perl -0 -pi -e '\ s/\nblacklist \/tmp\/.X11-unix\n/\n/; \ s/(\ninclude disable-xdg.inc\n)/\ninclude disable-X11.inc$1/; \ s/(\ninclude disable-[^Xx\n]+\n)(\n|# )/$1include disable-X11.inc\n$2/' Note: The following files were also edited manually: * etc/profile-a-l/erd.profile * etc/profile-a-l/links-common.profile * etc/profile-m-z/termshark.profile * etc/profile-m-z/tmux.profile * etc/profile-m-z/tshark.profile Relates to #4462 #4854.
Diffstat (limited to 'etc/profile-m-z/unbound.profile')
-rw-r--r--etc/profile-m-z/unbound.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/profile-m-z/unbound.profile b/etc/profile-m-z/unbound.profile
index 63d84688c..dfce92e2d 100644
--- a/etc/profile-m-z/unbound.profile
+++ b/etc/profile-m-z/unbound.profile
@@ -9,7 +9,6 @@ include globals.local
9noblacklist /sbin 9noblacklist /sbin
10noblacklist /usr/sbin 10noblacklist /usr/sbin
11 11
12blacklist /tmp/.X11-unix
13blacklist ${RUNUSER} 12blacklist ${RUNUSER}
14 13
15include disable-common.inc 14include disable-common.inc
@@ -17,6 +16,7 @@ include disable-devel.inc
17include disable-exec.inc 16include disable-exec.inc
18include disable-interpreters.inc 17include disable-interpreters.inc
19include disable-programs.inc 18include disable-programs.inc
19include disable-X11.inc
20include disable-xdg.inc 20include disable-xdg.inc
21 21
22whitelist /usr/share/dns 22whitelist /usr/share/dns