summaryrefslogtreecommitdiff
path: root/server/providers/krb5/krb5_init.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-11-23 14:33:55 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-11-25 11:03:12 -0500
commitb67dbadc979cbe86545e2275223483d429b74747 (patch)
tree4a7f1173ed9dc3d8810294fff95a7fd535622053 /server/providers/krb5/krb5_init.c
parent5ffb0443ca36ed2be262a7a5dda514686dbd539f (diff)
downloadsssd-b67dbadc979cbe86545e2275223483d429b74747.tar.gz
sssd-b67dbadc979cbe86545e2275223483d429b74747.tar.bz2
sssd-b67dbadc979cbe86545e2275223483d429b74747.zip
Split helpers for child processes
Moves several functions out of providers/krb5 hierarchy into a separate module so it can be shared by the ldap child.
Diffstat (limited to 'server/providers/krb5/krb5_init.c')
-rw-r--r--server/providers/krb5/krb5_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/providers/krb5/krb5_init.c b/server/providers/krb5/krb5_init.c
index a070c8c3..43cbc1bc 100644
--- a/server/providers/krb5/krb5_init.c
+++ b/server/providers/krb5/krb5_init.c
@@ -26,6 +26,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
+#include "providers/child_common.h"
#include "providers/krb5/krb5_auth.h"
#include "providers/krb5/krb5_common.h"
@@ -108,7 +109,7 @@ int sssm_krb5_auth_init(struct be_ctx *bectx,
}
sige = tevent_add_signal(bectx->ev, ctx, SIGCHLD, SA_SIGINFO,
- krb5_child_sig_handler, NULL);
+ child_sig_handler, NULL);
if (sige == NULL) {
DEBUG(1, ("tevent_add_signal failed.\n"));
ret = ENOMEM;