[PATCH] tailored assertions for priv_addset and setppriv

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Oct 30 11:08:27 CET 2012

In message <508F8C23.2000805 at schokola.de>, Nils Goroll writes:

>We could, however, consider to assert in SETPPRIV that setppriv(PRIV_OFF, ...) 
>succeeds rather than only throwing a warning if it fails, because this implies 
>that we may be running with more privileges than we intended to.

I think that is a good idea.  Warnings tend to become "it always says that..."

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list