dnsmasq: add option to expose additional paths to jail
authorDaniel Golle <daniel@makrotopia.org>
Sun, 27 Nov 2022 12:33:31 +0000 (12:33 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 27 Nov 2022 14:06:08 +0000 (14:06 +0000)
commitaa12a0fdd1c5a004281633c5b0758da1781bb41c
tree22d7513219a0fa45af8ef7719abb0006a751bcf4
parentd4c460648dc28a7e8f2082101159971f6858c743
dnsmasq: add option to expose additional paths to jail

Add new UCI list 'addn_mount' allowing the expose additional filesystem
paths to the jailed dnsmasq process. This is useful e.g. in case of
manually configured includes to the configuration file or symlinks
pointing outside of the exposed paths as used by e.g. the safe-search
package in the packages feed.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/services/dnsmasq/files/dhcp.conf
package/network/services/dnsmasq/files/dnsmasq.init