Commit Briefs


Omar Polo

move all sandbox-related code to sandbox.c

while there, add capsicum for the logger process


Omar Polo

refactoring: imsg everywhere

use imsg to handle ALL kinds of IPC in gmid. This simplifies and shorten the code, and makes everything more uniform too.


Omar Polo

fix out-of-bounds access

obviously msg[datalen] is an off-by-one


Omar Polo

move log_init & vars to gmid.c, retain logger_main in log.c

this is to let the regression suite compile


Omar Polo

move vhost_should_log call to server.c

log.o is linked to some regress/ stuff. Calling from there a vhost_* function means that we should link the regress/stuff to server.o too (and that would pull in other stuff...). Moving the call is easier, and also probably better.




Omar Polo

tests and compat for imsg


Omar Polo

moving logging to its own process


Omar Polo

fix various compilation errors

Include gmid.h as first header in every file, as it then includes config.h (that defines _GNU_SOURCE for instance). Fix also a warning about unsigned vs signed const char pointers in openssl.


Omar Polo

move logging code to log.c