diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-08-01 11:25:41 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-08-02 21:42:31 +0100 |
commit | 6ca34c5c0c8bc394093c7b4da015816d5ebfbe91 (patch) | |
tree | 24962b16ddef59b9ba8b9b87176def57e8021c36 /scripts/ubinize-image.sh | |
parent | b88ab440367c15260406851fab4df72eb99ba9b9 (diff) | |
download | upstream-6ca34c5c0c8bc394093c7b4da015816d5ebfbe91.tar.gz upstream-6ca34c5c0c8bc394093c7b4da015816d5ebfbe91.tar.bz2 upstream-6ca34c5c0c8bc394093c7b4da015816d5ebfbe91.zip |
dnsmasq: fix more dnsmasq jail issues
* remove superflus mounts of /dev/null and /dev/urandom
* reset EXTRA_MOUNTS at the beginning of the script
* add mount according to ignore_hosts_dir
* don't add mount for file which is inside a directory already in the
EXTRA_MOUNTS list
Fixes: 59c63224e1 ("dnsmasq: rework jail mounts")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit ac4e8aa2f8d98158ea7b749f877269f1f5fa9c5a)
Diffstat (limited to 'scripts/ubinize-image.sh')
0 files changed, 0 insertions, 0 deletions