Commits
- Commit:
fc9cc497e075cf321fe0dcf4c6783e2eeb8b9d43
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move some new_* functions from parse.y to utils.c
- Commit:
c26f2460e42aa0822c283c805958989f339e7d8b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework the daemon to do fork+exec
It uses the 'common' proc.c from various OpenBSD-daemons.
gmid grew organically bit by bit and it was also the first place where I
tried to implement privsep. It wasn't done very well, in fact the
parent process (that retains root privileges) just fork()s a generation
of servers, all sharing *exactly* the same address space. No good!
Now, we fork() and re-exec() ourselves, so that each process has a fresh
address space.
Some features (require client ca for example) are temporarly disabled,
will be fixed in subsequent commits. The "ge" program is also
temporarly disabled as it needs tweaks to do privsep too.
- Commit:
2dd5994ae172ed8162aff397b907e4fc476fbaae
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use fatal() in code used in the daemon
- Commit:
eae52ad493f582222b4f2b748c0043c42bb851cb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch to the more usual log.c
- Commit:
3a8c76eab2203c2e19ac63a2e22cea79e250cbea
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename PROC_MAX to PREFORK_MAX
- Commit:
df5058c919cbd1538d0a04cb2a4c179c0291566f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide a more usual fatal
fatal usually appends the error string. Add 'fatalx' that doesn't.
Fix callers and move the prototypes to log.h
- Commit:
1e0b974519c8228e271b2b6e677c1b8f9a109b6b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
send capsicum/landlock/seccomp hack to Valhalla
- Commit:
e92efb0d8ecfd42e3585963c8b66c61f5451cfa9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't crash when specifying fcgi UNIX sockets to connect to
- Commit:
7b00c8900b91302abe0695f495aa3baff90e9896
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove the last tentacles of the hidden `span' fcgi feature
- Commit:
534afd0ddcba7c3d2f8478e89db026010c6190c5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make the various strings in the config fixed-length
will help in future restructuring to have fixed-size objects.
- Commit:
4ceb570910de41133b2771cff29cbb78f37fea30
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove stale comment
- Commit:
9715efe6f3838c40bbb66a8d0806cf785f2e7368
- From:
- Omar Polo <op@omarpolo.com>
- Date:
retire fcgi' prog field
spawning programs was a hidden feature used only for testing. It's
gross and when got removed, I forgot to remove the field as well.
- Commit:
edc5ca667dbaf67ff39676341a131ced7502a36d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
properly initialize the TAILQs at vhost creation
- Commit:
2025e96d976677a7bf6bbe54185eb7bca026fe9d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop cgi vestiges from the struct host
The `env' list is no longer used since CGI scripts were removed
- Commit:
cd5826b8ba3b43ed9802309688ae029c0f5c4081
- From:
- Omar Polo <op@omarpolo.com>
- Date:
retire the deprecated `mime' and `map' config options