[CIFS] implement upcalls for SPNEGO blob via keyctl API
authorJeff Layton <jlayton@redhat.com>
Sat, 3 Nov 2007 04:48:29 +0000 (04:48 +0000)
committerSteve French <sfrench@us.ibm.com>
Sat, 3 Nov 2007 04:48:29 +0000 (04:48 +0000)
commit09fe7ba78dedb9017401ed555ecc4435c99a7556
tree145fc0688723fb5083da5c3f25efd40cd1c1e559
parent745542e210b3b15751ea9d511321924ac36b85db
[CIFS] implement upcalls for SPNEGO blob via keyctl API

Add routines to handle upcalls to userspace via keyctl for the purpose
of getting a SPNEGO blob for a particular uid and server combination.

Clean up the Makefile a bit and set it up to only compile cifs_spnego
if CONFIG_CIFS_UPCALL is set. Also change CONFIG_CIFS_UPCALL to depend
on CONFIG_KEYS rather than CONFIG_CONNECTOR.

cifs_spnego.h defines the communications between kernel and userspace
and is intended to be shared with userspace programs.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/Kconfig
fs/cifs/Makefile
fs/cifs/cifsproto.h