Commit Briefs

Omar Polo

update README


Omar Polo

typo


Omar Polo

fix signal handling so it works on linux too

it seems that linux calls the signal handlers even when we're waiting on sigwait for that signal. Work around that.


Omar Polo

[seccomp] allow prlimit64

it's needed by getdtablesize, at least on glibc



Omar Polo

sync changelog


Omar Polo

kill only $pid during regress testing

before we did `pkill gmid', but that would influence also other instances of gmid!



Omar Polo

move all sandbox-related code to sandbox.c

while there, add capsicum for the logger process


Omar Polo

sync ChangeLog


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

handle SIGHUP gracefully

i.e. don't print scary messages with LOG_CRIT priority!


Omar Polo

split usage string into two lines


Omar Polo

fix out-of-bounds access

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


Omar Polo

give each server process its own socket for the executor

this fixes a bug introduced with the prefork mechanics: every server process shared the same socket, and this would cause a race condition when multiple server processes asked for a script cgi being executed. This gives each server process its own socket to talk to the executor, so the race cannot happen.