gmid/regress
Omar Polo c26f2460e4 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.
2023-06-08 13:59:31 +00:00
..
Makefile rework `make dist' 2022-10-31 22:53:16 +00:00
env define TLS_CLIENT_NOT_BEFORE/NOT_AFTER in CGI scripts 2021-02-07 21:47:01 +00:00
err brand new regress suite 2021-01-22 16:48:04 +00:00
example.mime.types document the implicit mapping for text/gemini 2022-04-08 15:36:59 +00:00
fcgi-test.c be quieter 2021-06-15 08:07:44 +00:00
fill-file.c use a c program to fill the file 2021-01-22 17:18:55 +00:00
hello brand new regress suite 2021-01-22 16:48:04 +00:00
invalid fix test portability 2021-01-23 17:44:23 +00:00
iri_test.c copyright years 2022-07-04 09:48:39 +00:00
lib.sh regress: use -P with an absolute path 2023-06-08 13:56:09 +00:00
max-length-reply handle CGI scripts that replies with the maximum header length allowed 2021-03-29 09:42:06 +00:00
puny-test.c rework the daemon to do fork+exec 2023-06-08 13:59:31 +00:00
regress rework the daemon to do fork+exec 2023-06-08 13:59:31 +00:00
serve-bigfile test CGI with big files 2021-01-24 10:24:34 +00:00
sha use shell built-in `command' instead of which(1) 2022-02-27 16:24:45 +00:00
slow brand new regress suite 2021-01-22 16:48:04 +00:00
tests.sh adjust regress to use `ge' for the old configless test 2022-09-08 20:45:12 +00:00
valid.ext add conf for a ca 2021-02-09 22:12:19 +00:00