[Dnsmasq-discuss] Forked dnsmasq
simon at thekelleys.org.uk
Fri Apr 30 22:22:33 UTC 2021
On 26/04/2021 06:57, reiner otto via Dnsmasq-discuss wrote:
> Using dhcp-script, I notice a second dnsmasq, running as root. Is there
> a method to avoid this, because of embedded device with low RAM ?
> Practically all processes run as root on openwrt, anyway.
The reason for the second process is to allow the dhcp-script to be run
as root. The security exposure surface of the main process is
sufficiently large that running it as root is not a good idea.
Note that the two processes will share much of the their memory, as they
are running the same program text, and a lot of the memory inherited by
the helper process from the main process is never touched.
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss