Commits
- Commit:
af1dab18702cf135aa80bf15065f73050c915347
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't have the config being a global
- 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:
3a8c76eab2203c2e19ac63a2e22cea79e250cbea
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename PROC_MAX to PREFORK_MAX
- Commit:
e5d82d9472513ef742dbb0b5ac451337625feb58
- From:
- Omar Polo <op@omarpolo.com>
- Date:
const-ify some tables
matches found with
% grep -R '=[ ]*{' . | fgrep -v const
- Commit:
62e001b06778c96d0deebceddf1913f7b57ab2d6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move all sandbox-related code to sandbox.c
while there, add capsicum for the logger process
- Commit:
bc99d868bc3745dcc65add06cd3f9b9ec3575cb5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
17458f11e119622b84dc9925e541820757443a95
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync global variables
- Commit:
319b7fa9090ddd39e03cb499ca2bcafd3a771a85
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define conf in the test program, not in puny.c
- Commit:
1e7591a9220359bc646562b161719d406cbbc267
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parse_err is a const pointer
- Commit:
cef60084e65c78ec736d3d6d1d9c383fd424d693
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix puny-test build
- Commit:
44ee1bac8bc4ca2f216297d00ee6677f49fe3342
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use starts_with in puny.c
- Commit:
7957cbd9aad6ace179287b2ddcbae0b14a25a90d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
const-ify puny_decode (and add puny.c)
- Commit:
3300cbe06a9567c66ee63f3866bcbcf3430e0205
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial punycode support