• Dag Erling Smørgrav's avatar
    Keep a master copy of the parameter block, to which all changes are applied, · 852976df
    Dag Erling Smørgrav authored
    and which is copied to the shared parameter block every time a parameter
    changes as well as immediately before forking off a child.  This prevents a
    hypothetical compromised child from changing the parent's idea of run-time
    parameters (which would, for example, allow it to trick the the parent into
    starting a new, hypothetically exploitable child with the attacker's choice
    of uid / gid).
    
    While I'm here, correct the use of the "volatile" qualifier - it is the
    parmeter block itself which can change unpredictably, not the pointer.
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1484 d4fa192b-c00b-0410-8231-f00ffab90ce4
    852976df
Name
Last commit
Last update
..
varnishd Loading commit data...
varnishhist Loading commit data...
varnishlog Loading commit data...
varnishncsa Loading commit data...
varnishstat Loading commit data...
varnishtop Loading commit data...
Makefile.am Loading commit data...