Commit Graph

17 Commits

Author SHA1 Message Date
Luke Howard
73fde33757 KCM: restore support for Solaris doors IPC mechanism (#379)
This patch restores support for the Solaris doors IPC mechanism, removed
from KCM when lib/ipc was added.
2018-05-13 15:31:13 +10:00
Nicolas Williams
b48bed5f42 Daemons detach atomically to avoid having to wait
Tests that start daemons have to "wait" for them to start.

This commit makes Heimdal daemons prep to detach (when requested) by
forking early, then having the child signal readiness to the parent when
the child really is ready.  The parent exits only which the child is
ready.  This means that tests will no longer need to wait for daemons.

However, tests will still need a pidfile or such so they can stop the
daemons.

Note that the --detach options should not be used on OS X from launchd,
only from tests.
2015-03-24 11:49:59 -05:00
Love Hornquist Astrand
d616796649 add prototype for kcm_service and launchd flag 2009-11-23 09:05:48 -08:00
Love Hornquist Astrand
fe2dfe83a8 clean up and make work, require libheim-ipcs 2009-11-21 23:54:00 -08:00
Love Hornquist Astrand
c97cc4647c rename kcm_protos to kcm-protos.h 2009-07-30 15:03:28 +02:00
Love Hörnquist Åstrand
fe827a7b40 wrap detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:41 +00:00
Love Hörnquist Åstrand
c630fd2375 switch to kcmuuid_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:17:14 +00:00
Love Hörnquist Åstrand
ae92936752 cursor is dead, add uuid to kcm_creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:29 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
b22da5088e First, it allows root to ignore the
naming conventions.  Second, it allows root to always perform any
operation on any ccache.  Note that root could do this anyway with FILE
ccaches

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 10:41:11 +00:00
Love Hörnquist Åstrand
652da91adb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:52:01 +00:00
Love Hörnquist Åstrand
93aadcfbfa (disallow_getting_krbtgt): Declare.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-07 00:31:29 +00:00
Love Hörnquist Åstrand
1bc72b4961 add extern door_path;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 15:20:37 +00:00
Love Hörnquist Åstrand
691e382d2e remove prototypes and add <kcm_protos.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 18:10:25 +00:00
Love Hörnquist Åstrand
89e2c558e2 struct kcm_op: jumptable structure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:46:28 +00:00
Love Hörnquist Åstrand
7a9666ae1d move declaration of detach_from_console here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:36:04 +00:00
Luke Howard
cd8bcb8404 Initial version of KCM daemon
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:20:00 +00:00