Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
dns_key.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/keyctl.h>
#include <linux/err.h>
#include <linux/seq_file.h>
#include <keys/dns_resolver-type.h>
#include <keys/user-type.h>
#include "internal.h"

Go to the source code of this file.

Macros

#define DNS_ERRORNO_OPTION   "dnserror"
 

Functions

 MODULE_DESCRIPTION ("DNS Resolver")
 
 MODULE_AUTHOR ("Wang Lei")
 
 MODULE_LICENSE ("GPL")
 
 module_param_named (debug, dns_resolver_debug, uint, S_IWUSR|S_IRUGO)
 
 MODULE_PARM_DESC (debug,"DNS Resolver debugging mask")
 

Variables

unsigned int dns_resolver_debug
 
struct creddns_resolver_cache
 
struct key_type key_type_dns_resolver
 

Macro Definition Documentation

#define DNS_ERRORNO_OPTION   "dnserror"

Definition at line 47 of file dns_key.c.

Function Documentation

MODULE_AUTHOR ( "Wang Lei"  )
MODULE_DESCRIPTION ( "DNS Resolver"  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( debug  ,
dns_resolver_debug  ,
uint  ,
S_IWUSR S_IRUGO 
)
MODULE_PARM_DESC ( debug  ,
"DNS Resolver debugging mask  
)

Variable Documentation

struct cred* dns_resolver_cache

Definition at line 45 of file dns_key.c.

unsigned int dns_resolver_debug

Definition at line 41 of file dns_key.c.

struct key_type key_type_dns_resolver
Initial value:
= {
.name = "dns_resolver",
.instantiate = dns_resolver_instantiate,
.match = dns_resolver_match,
.revoke = user_revoke,
.destroy = user_destroy,
.describe = dns_resolver_describe,
.read = dns_resolver_read,
}

Definition at line 236 of file dns_key.c.