mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
a1db410d0b
This patch makes GSS auth cache details allocated and registered per network namespace context. Thus with this patch rsi_cache and rsc_cache contents for network namespace "X" are controlled from proc file system mount for the same network namespace "X". Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Acked-by: J. Bruce Fields <bfields@redhat.com>
28 lines
802 B
C
28 lines
802 B
C
/*
|
|
* linux/include/linux/sunrpc/svcauth_gss.h
|
|
*
|
|
* Bruce Fields <bfields@umich.edu>
|
|
* Copyright (c) 2002 The Regents of the University of Michigan
|
|
*/
|
|
|
|
#ifndef _LINUX_SUNRPC_SVCAUTH_GSS_H
|
|
#define _LINUX_SUNRPC_SVCAUTH_GSS_H
|
|
|
|
#ifdef __KERNEL__
|
|
#include <linux/sched.h>
|
|
#include <linux/sunrpc/types.h>
|
|
#include <linux/sunrpc/xdr.h>
|
|
#include <linux/sunrpc/svcauth.h>
|
|
#include <linux/sunrpc/svcsock.h>
|
|
#include <linux/sunrpc/auth_gss.h>
|
|
|
|
int gss_svc_init(void);
|
|
void gss_svc_shutdown(void);
|
|
int gss_svc_init_net(struct net *net);
|
|
void gss_svc_shutdown_net(struct net *net);
|
|
int svcauth_gss_register_pseudoflavor(u32 pseudoflavor, char * name);
|
|
u32 svcauth_gss_flavor(struct auth_domain *dom);
|
|
char *svc_gss_principal(struct svc_rqst *);
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif /* _LINUX_SUNRPC_SVCAUTH_GSS_H */
|