[Dnsmasq-discuss] dnsmasq runs as root if setcap() fails

Cristóbal Palmer cristobalpalmer at gmail.com
Thu Jun 19 21:06:03 BST 2008


On Thu, Jun 19, 2008 at 3:52 PM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> There's  no order which makes everything work, as far as I can see.

Why not fork a test process which tries the capset? If that fails,
then you abort; if it succeeds, then proceed as you do normally. Am I
misunderstanding?

Cheers,
-- 
Cristóbal M. Palmer
"Small acts of humanity amid the chaos of inhumanity provide hope. But
small acts are insufficient."
    -- Paul Rusesabagina


More information about the Dnsmasq-discuss mailing list