Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
svcauth_unix.c File Reference
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/sunrpc/types.h>
#include <linux/sunrpc/xdr.h>
#include <linux/sunrpc/svcsock.h>
#include <linux/sunrpc/svcauth.h>
#include <linux/sunrpc/gss_api.h>
#include <linux/err.h>
#include <linux/seq_file.h>
#include <linux/hash.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <net/sock.h>
#include <net/ipv6.h>
#include <linux/kernel.h>
#include <linux/user_namespace.h>
#include <linux/sunrpc/clnt.h>
#include "netns.h"

Go to the source code of this file.

Data Structures

struct  unix_domain
 
struct  ip_map
 
struct  unix_gid
 

Macros

#define RPCDBG_FACILITY   RPCDBG_AUTH
 
#define IP_HASHBITS   8
 
#define IP_HASHMAX   (1<<IP_HASHBITS)
 
#define GID_HASHBITS   8
 
#define GID_HASHMAX   (1<<GID_HASHBITS)
 

Functions

struct auth_domain * unix_domain_find (char *name)
 
 EXPORT_SYMBOL_GPL (unix_domain_find)
 
void svcauth_unix_purge (struct net *net)
 
 EXPORT_SYMBOL_GPL (svcauth_unix_purge)
 
void svcauth_unix_info_release (struct svc_xprt *xpt)
 
int unix_gid_cache_create (struct net *net)
 
void unix_gid_cache_destroy (struct net *net)
 
int svcauth_unix_set_client (struct svc_rqst *rqstp)
 
 EXPORT_SYMBOL_GPL (svcauth_unix_set_client)
 
int ip_map_cache_create (struct net *net)
 
void ip_map_cache_destroy (struct net *net)
 

Variables

struct auth_ops svcauth_null
 
struct auth_ops svcauth_unix
 

Macro Definition Documentation

#define GID_HASHBITS   8

Definition at line 413 of file svcauth_unix.c.

#define GID_HASHMAX   (1<<GID_HASHBITS)

Definition at line 414 of file svcauth_unix.c.

#define IP_HASHBITS   8

Definition at line 86 of file svcauth_unix.c.

#define IP_HASHMAX   (1<<IP_HASHBITS)

Definition at line 87 of file svcauth_unix.c.

#define RPCDBG_FACILITY   RPCDBG_AUTH

Definition at line 18 of file svcauth_unix.c.

Function Documentation

EXPORT_SYMBOL_GPL ( unix_domain_find  )
EXPORT_SYMBOL_GPL ( svcauth_unix_purge  )
EXPORT_SYMBOL_GPL ( svcauth_unix_set_client  )
int ip_map_cache_create ( struct net net)

Definition at line 886 of file svcauth_unix.c.

void ip_map_cache_destroy ( struct net net)

Definition at line 904 of file svcauth_unix.c.

void svcauth_unix_info_release ( struct svc_xprt xpt)

Definition at line 395 of file svcauth_unix.c.

void svcauth_unix_purge ( struct net net)

Definition at line 336 of file svcauth_unix.c.

int svcauth_unix_set_client ( struct svc_rqst rqstp)

Definition at line 658 of file svcauth_unix.c.

struct auth_domain* unix_domain_find ( char name)
read

Definition at line 48 of file svcauth_unix.c.

int unix_gid_cache_create ( struct net net)

Definition at line 589 of file svcauth_unix.c.

void unix_gid_cache_destroy ( struct net net)

Definition at line 607 of file svcauth_unix.c.

Variable Documentation

struct auth_ops svcauth_null
Initial value:
= {
.name = "null",
.owner = THIS_MODULE,
.flavour = RPC_AUTH_NULL,
.accept = svcauth_null_accept,
.release = svcauth_null_release,
.set_client = svcauth_unix_set_client,
}

Definition at line 781 of file svcauth_unix.c.

struct auth_ops svcauth_unix
Initial value:
= {
.name = "unix",
.owner = THIS_MODULE,
.flavour = RPC_AUTH_UNIX,
.accept = svcauth_unix_accept,
.release = svcauth_unix_release,
.domain_release = svcauth_unix_domain_release,
.set_client = svcauth_unix_set_client,
}

Definition at line 862 of file svcauth_unix.c.