Commits
- Commit:
797c4609a9b9923e8d15413f7412cf2bf4bb6ce5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make ge work again
- Commit:
3886afceec08126fede93edee884cbd13078cbec
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make server_init and server_configure_done 'public'
server_configure_done is the code we ran in IMSG_RECONF_END splitted
in a separate functions.
This is all needed for ge.c which doesn't do privsep but needs to
bootstrap the server process.
- Commit:
47b0ff105a152b5f44bddaacc41318872370a222
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move log_request to gmid.c
so that ge can provide its own log_request without requiring a
separate logger process.
- Commit:
4f4937f06a536661ffafa589d1cfb5d91ca27bf3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move make_socket to config.c and make it private
- Commit:
fc9cc497e075cf321fe0dcf4c6783e2eeb8b9d43
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move some new_* functions from parse.y to utils.c
- Commit:
e69e1151f696b01d1fe80570901d21bc78ed5ab1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop now unused dispatch_imsg
- Commit:
2b4ef796d78a9d76952115852e3aef56f00b7beb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove debug code
- Commit:
61febd28afd90877572f5b0391c3829732e49527
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove now unused ibuf variable
- Commit:
846842e138e3d859fe6a9bce05c991972e1426cb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync DISTFILES
- Commit:
68e38f49b234474bdd123120de004de96fae8715
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use -MMD if the compiler supports it
it's better than the previous Makefile.depend approach since this
automatically adapts to the included headers without requiring
manual intervention to regen the list.
- Commit:
34836095937077a427c4810d21833a2b21000a86
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove Makefile.depend
- Commit:
c727f8dd7582528f506e3695e4ec4acbfa67edbf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reformat
- 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:
99f1fbb0c73b6f62b966760181b3d97f54bbe73b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress: use -P with an absolute path
- Commit:
f1f13cb7dc588c90f14efcb513ff177d2798194b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
absolutify the path to the pid file