Commits
- Commit:
ba290ef3affaad8a51b789eeadab269df1ffd0af
- From:
- Omar Polo <op@omarpolo.com>
- Date:
disable the privsep crypto engine on !OpenBSD
it fails bandly at runtime on various linux distros and on freebsd.
Until a fix is found, disable it so I can move forward.
- Commit:
af1dab18702cf135aa80bf15065f73050c915347
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't have the config being a global
- Commit:
e45334e6ae0b658a2d3d4f47bc3e9ddfdb83a44f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move hosts into the config struct
- Commit:
5d22294a59e7e9cbe6457b9e6244fff2ede09956
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move fastcgi from global var to the config struct
while here also make them a list rather than a fixed-size array.
- Commit:
49bd46a150c80802c28606b878f38ec838dc6df0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix ge build
- Commit:
8eeb992206592a3bc858ffda8216ca0538cb7ecf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
less logger.h
- Commit:
797c4609a9b9923e8d15413f7412cf2bf4bb6ce5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make ge work again
- Commit:
61febd28afd90877572f5b0391c3829732e49527
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove now unused ibuf variable
- 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:
281a8852b3a2d76c10d2fb6476a706746d05509b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename log.[ch] to logger.[ch]
- Commit:
4267093e37fd7cded943399af8afe3ba825a1e68
- From:
- Omar Polo <op@omarpolo.com>
- Date:
nitpick: fix snprintf check
- Commit:
c68baad22af4c65c090a3ba6d83a155561275134
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move config-related code to config.c
reuse it in ge too.
- Commit:
0046c1fe9ca72ed024c8562d51e2b320f7968915
- From:
- Omar Polo <op@omarpolo.com>
- Date:
call setlocale()