Commits
- 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:
0b62f4842d7c65b8f64c5f676a0a05333fd7db6f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop landlock/seccomp and capsicum support
it reached a point where this stuff is not maintenable. I'd like
to move forward with gmid, but the restriction of capsicum and the
linux environment at large that make landlock unusable (how can you
resolve DNS portably when under landlock?) -and don't get me started
on seccomp- makes it impossible for me to do any work.
So, I prefer removing the crap, resuming working on gmid by cleaning
stuff and consolidating the features, improving various things
etc... and then eventually see how to introduce some sandboxing
again on other systems. Patches to resume sandboxing are, as always,
welcome!
- Commit:
bd8683d0fd36893c18e7271faaa3b9ea67df0695
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add tests and compat for setresuid and setresgid
- Commit:
0ab57224fbdcfca36c621a8b13c96f4caa9e950a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump version ahead of 1.8 branch
- Commit:
19a8d9fe745ca09a9966174c4826935f05daa8db
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add memmem compat
- Commit:
e59b7f30e700d6480728b306da8fc8337e7d9503
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix previous
- Commit:
81417373189ce7ba8b49143cf0a623856e4e84e4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
work around missing HOST_NAME_MAX too
- Commit:
fad3441ba9cd67fb34b6a5e28b3161c075c0b14f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
work around missing LOGIN_NAME_MAX
Both Linux and OpenBSD have LOGIN_NAME_MAX available when including
limits.h, FreeBSD, Darwin and possibly others don't.
FreeBSD (and maybe Darwin) have MAXLOGNAME, so try to use that if
available. Otherwise use _POSIX_LOGIN_NAME_MAX, but only has a fallback
since it has a lower value (9 at the time of writing).
If everything fails, use 32 which is what OpenBSD use by default;
OpenSMTPd also defaults to it.
(compat copied from kamid.)
- Commit:
7f03b52bd61e64f2627fa0891582f981cc215e0d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
shim for __dead
- Commit:
f759119d2f5707baac35b4960a6ddca5bd205647
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump version
- Commit:
1f6de7491cee22546d397793945ec16dc981836c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
changes for 1.8.4
- Commit:
96e3c013146396d02318685d79ed7025a09ffb43
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor the makefile / configure
steal more (good) stuff from mandoc-portable :)
- Commit:
a555e0d67baef271ffe4a186326ee5f1c16fff75
- From:
- Omar Polo <op@omarpolo.com>
- Date:
copyright years
- Commit:
cb2b85512c2d10bf2f89b4d93f6157babc7e283f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add proper copyrights
was a mistake on my part and a leftover from the first iterations.
Initially I only stole a few bits, that's why the comment but not the
copyright, but then i threwed out and restarted using oconfigure.
Then the configure script has its own independent changes, but need to
give attribution nevertheless.
- Commit:
72e7fbbcb7740a86e44d043727782b50356dd69d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
master is now 1.8.3-current