Commits


add IMSG_CTL_DEBUG to debug the opened fid meant to be used from kamictl to dump all the opened fid by every connection.


explicitly initializes queues with STAILQ_INIT


fix the restart of the main process delete useless functions such as merge_config and config_clear while here.


kamid: fix main_shutdown close the pipe with the listener process and wait for children to die.


move control to the main process We may want to be able to run multiple listener process eventually, so the first step is to drop IMSG_CONTROLFD and keep the ctl stuff in the main process.


kamid: always reply to auth with a struct kd_auth_proc even when the authentication fails


simplify client proc bootstrap Drop the IMSG_AUTH_DIR imsg type and stuff everything in a struct kd_auth_proc that gets sent via IMSG_AUTH. Tweak the necessary bits to compile. While here also start documenting what data we send over which imsg. As an added benefit, now we're sending fixed-size messages instead of variable length strings.


Merge branch 'portable' Trying to maintain two branches was impossible at this stage for me alone, so I'll recognize my stupidity and merge the portable branch into the main one. The repository will build using autotools.


fix build on linux


restructure project and switch build system use by default the OpenBSD mk infrastructure to build and test all the kamid components.