Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
user_defined.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/seq_file.h>
#include <linux/err.h>
#include <keys/user-type.h>
#include <asm/uaccess.h>
#include "internal.h"

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (key_type_user)
 
 EXPORT_SYMBOL_GPL (key_type_logon)
 
int user_instantiate (struct key *key, struct key_preparsed_payload *prep)
 
 EXPORT_SYMBOL_GPL (user_instantiate)
 
int user_update (struct key *key, struct key_preparsed_payload *prep)
 
 EXPORT_SYMBOL_GPL (user_update)
 
int user_match (const struct key *key, const void *description)
 
 EXPORT_SYMBOL_GPL (user_match)
 
void user_revoke (struct key *key)
 
 EXPORT_SYMBOL (user_revoke)
 
void user_destroy (struct key *key)
 
 EXPORT_SYMBOL_GPL (user_destroy)
 
void user_describe (const struct key *key, struct seq_file *m)
 
 EXPORT_SYMBOL_GPL (user_describe)
 
long user_read (const struct key *key, char __user *buffer, size_t buflen)
 
 EXPORT_SYMBOL_GPL (user_read)
 

Variables

struct key_type key_type_user
 
struct key_type key_type_logon
 

Function Documentation

EXPORT_SYMBOL ( user_revoke  )
EXPORT_SYMBOL_GPL ( key_type_user  )
EXPORT_SYMBOL_GPL ( key_type_logon  )
EXPORT_SYMBOL_GPL ( user_instantiate  )
EXPORT_SYMBOL_GPL ( user_update  )
EXPORT_SYMBOL_GPL ( user_match  )
EXPORT_SYMBOL_GPL ( user_destroy  )
EXPORT_SYMBOL_GPL ( user_describe  )
EXPORT_SYMBOL_GPL ( user_read  )
void user_describe ( const struct key key,
struct seq_file m 
)

Definition at line 180 of file user_defined.c.

void user_destroy ( struct key key)

Definition at line 168 of file user_defined.c.

int user_instantiate ( struct key key,
struct key_preparsed_payload *  prep 
)

Definition at line 61 of file user_defined.c.

int user_match ( const struct key key,
const void description 
)

Definition at line 139 of file user_defined.c.

long user_read ( const struct key key,
char __user buffer,
size_t  buflen 
)

Definition at line 193 of file user_defined.c.

void user_revoke ( struct key key)

Definition at line 150 of file user_defined.c.

int user_update ( struct key key,
struct key_preparsed_payload *  prep 
)

Definition at line 96 of file user_defined.c.

Variable Documentation

struct key_type key_type_logon
Initial value:
= {
.name = "logon",
.instantiate = user_instantiate,
.update = user_update,
.match = user_match,
.revoke = user_revoke,
.destroy = user_destroy,
.describe = user_describe,
.vet_description = logon_vet_description,
}

Definition at line 46 of file user_defined.c.

struct key_type key_type_user
Initial value:
= {
.name = "user",
.instantiate = user_instantiate,
.update = user_update,
.match = user_match,
.revoke = user_revoke,
.destroy = user_destroy,
.describe = user_describe,
.read = user_read,
}

Definition at line 27 of file user_defined.c.