Add new SetTokenEx pioctl
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 14 Feb 2010 01:14:54 +0000 (01:14 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 26 Aug 2010 16:29:09 +0000 (09:29 -0700)
commit2221b61eff513c61cac765d8e72cd06e769610fc
tree7166ed8c8e4dca0cd3643d85a358cb0b0a85544f
parentba1d050c6e8c9593dfa3d914f9d24e2bd985abe0
Add new SetTokenEx pioctl

This change implements the new, XDR based, SetTokenEx pioctl. This
pioctl permits sending multiple tokens, of multiple types, into the
kernel in a single pioctl call. This patch provides a kernel
implementation of the pioctl, and a new library function
ktc_SetTokenEx, which will use either the new pioctl, or fall back
to the old one should SetTokenEx not be available.

Change-Id: Id1e2903e078c549f5675e3d2ecdf53a9bb33f5e9
Reviewed-on: http://gerrit.openafs.org/2582
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
18 files changed:
Makefile.in
src/afs/afs_pioctl.c
src/afs/afs_prototypes.h
src/afs/afs_stats.h
src/afs/afs_tokens.c
src/auth/.gitignore
src/auth/Makefile.in
src/auth/auth.p.h
src/auth/ktc.c
src/auth/ktc.h
src/auth/token.c [new file with mode: 0644]
src/auth/token.xg [new file with mode: 0644]
src/config/vioc.h
src/libafs/Makefile.common.in
src/libafsauthent/Makefile.in
src/libuafs/Makefile.common.in
src/pam/Makefile.in
src/shlibafsauthent/Makefile.in