From 0cfdc66de043a89d2ae2167a624e7d0b56c122eb Mon Sep 17 00:00:00 2001 From: Olga Kornievskaia Date: Mon, 16 Nov 2009 09:25:22 -0500 Subject: gssd: handle new client upcall Add support for handling the new client-side upcall. The kernel, beginning with 2.6.29, will attempt to use a new pipe, "gssd", which can be used for upcalls for all gss mechanisms. The new upcall is text-based with an = format. Attribute/value pairs are separated by a space, and terminated with a new-line character. The intial version has two required attributes, mech= and uid=, and two optional attributes, target= and service=. Future kernels may add new attribute/value pairs. Signed-off-by: Olga Kornievskaia Signed-off-by: Kevin Coffman Signed-off-by: Steve Dickson --- utils/gssd/gssd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/gssd/gssd.h') diff --git a/utils/gssd/gssd.h b/utils/gssd/gssd.h index 3c53a88..465c305 100644 --- a/utils/gssd/gssd.h +++ b/utils/gssd/gssd.h @@ -82,6 +82,8 @@ struct clnt_info { int krb5_poll_index; int spkm3_fd; int spkm3_poll_index; + int gssd_fd; + int gssd_poll_index; struct sockaddr_storage addr; }; @@ -97,6 +99,7 @@ void init_client_list(void); int update_client_list(void); void handle_krb5_upcall(struct clnt_info *clp); void handle_spkm3_upcall(struct clnt_info *clp); +void handle_gssd_upcall(struct clnt_info *clp); int gssd_acquire_cred(char *server_name); void gssd_run(void); -- cgit