Commits


parse the config file only once Don't have all the processes read gmid.conf. The parent needs to do that, and the will send the config to the children (already happening.) The other processes were reading the config anyway to figure out the user and the chroot (if enabled); make the parent pass additional flag to propagate that info. We dissociate a bit from the "usual" proc.c but it's a change worth having.


move print_conf and make it take the config as argument


use fatal/fatalx instead of err/errx in daemon code


parse_conf: don't die on error, return -1 this avoids having the daemon dieing on SIGHUP with a bad config file.


don't have the config being a global


move hosts into the config struct


ignore and clean fcgi.sock


fcgi-test: be less verbose


re-establish fastcgi test


move fastcgi from global var to the config struct while here also make them a list rather than a fixed-size array.


fix sandbox_server_process it does the unveil(2)ing based on the first config, which breaks config-reloading.


rework fcgi-test so that it binds a local socket still not re-enabled.


readd proxy certs and `require client ca' support Was temporarly disabled during the transition to real privsep. While here, fix a memory leak when using `require client ca'. Also, avoid leaking info about the parent address space layout to server processes by not sending pointer values.


configure: look for WAIT_ANY


fix typo