Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
auth_generic.c File Reference
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/sunrpc/auth.h>
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/debug.h>
#include <linux/sunrpc/sched.h>

Go to the source code of this file.

Data Structures

struct  generic_cred
 

Macros

#define RPC_MACHINE_CRED_USERID   ((uid_t)0)
 
#define RPC_MACHINE_CRED_GROUPID   ((gid_t)0)
 

Functions

struct rpc_cred * rpc_lookup_cred (void)
 
 EXPORT_SYMBOL_GPL (rpc_lookup_cred)
 
struct rpc_cred * rpc_lookup_machine_cred (const char *service_name)
 
 EXPORT_SYMBOL_GPL (rpc_lookup_machine_cred)
 
int __init rpc_init_generic_auth (void)
 
void rpc_destroy_generic_auth (void)
 

Macro Definition Documentation

#define RPC_MACHINE_CRED_GROUPID   ((gid_t)0)

Definition at line 22 of file auth_generic.c.

#define RPC_MACHINE_CRED_USERID   ((uid_t)0)

Definition at line 21 of file auth_generic.c.

Function Documentation

EXPORT_SYMBOL_GPL ( rpc_lookup_cred  )
EXPORT_SYMBOL_GPL ( rpc_lookup_machine_cred  )
void rpc_destroy_generic_auth ( void  )

Definition at line 178 of file auth_generic.c.

int __init rpc_init_generic_auth ( void  )

Definition at line 173 of file auth_generic.c.

struct rpc_cred* rpc_lookup_cred ( void  )
read

Definition at line 35 of file auth_generic.c.

struct rpc_cred* rpc_lookup_machine_cred ( const char service_name)
read

Definition at line 44 of file auth_generic.c.