]> git.karo-electronics.de Git - linux-beck.git/commit
RxRPC: Allow key payloads to be passed in XDR form
authorDavid Howells <dhowells@redhat.com>
Mon, 14 Sep 2009 01:17:35 +0000 (01:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2009 09:44:23 +0000 (02:44 -0700)
commit339412841d7620f93fea805fbd7469f08186f458
treee2d385d76e3b9361671411442c5253417f95d5a6
parent8b815477f382f96deefbe5bd4404fa7b31cf5dcf
RxRPC: Allow key payloads to be passed in XDR form

Allow add_key() and KEYCTL_INSTANTIATE to accept key payloads in XDR form as
described by openafs-1.4.10/src/auth/afs_token.xg.  This provides a way of
passing kaserver, Kerberos 4, Kerberos 5 and GSSAPI keys from userspace, and
allows for future expansion.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/keys/rxrpc-type.h
net/rxrpc/ar-internal.h
net/rxrpc/ar-key.c
net/rxrpc/ar-security.c
net/rxrpc/rxkad.c