Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ecryptfs_global_auth_tok Struct Reference

#include <ecryptfs_kernel.h>

Data Fields

u32 flags
 
struct list_head mount_crypt_stat_list
 
struct keyglobal_auth_tok_key
 
unsigned char sig [ECRYPTFS_SIG_SIZE_HEX+1]
 

Detailed Description

ecryptfs_global_auth_tok - A key used to encrypt all new files under the mountpoint : Status flags : These auth_toks hang off the mount-wide cryptographic context. Every time a new inode comes into existence, eCryptfs copies the auth_toks on that list to the set of auth_toks on the inode's crypt_stat : The key from the user's keyring for the sig : The key contents : The key identifier

ecryptfs_global_auth_tok structs refer to authentication token keys in the user keyring that apply to newly created files. A list of these objects hangs off of the mount_crypt_stat struct for any given eCryptfs mount. This struct maintains a reference to both the key contents and the key itself so that the key can be put on unmount.

Definition at line 265 of file ecryptfs_kernel.h.

Field Documentation

u32 flags

Definition at line 268 of file ecryptfs_kernel.h.

struct key* global_auth_tok_key

Definition at line 270 of file ecryptfs_kernel.h.

struct list_head mount_crypt_stat_list

Definition at line 269 of file ecryptfs_kernel.h.

unsigned char sig[ECRYPTFS_SIG_SIZE_HEX+1]

Definition at line 271 of file ecryptfs_kernel.h.


The documentation for this struct was generated from the following file: