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

#include <netlabel.h>

Data Fields

atomic_t refcount
void(* free )(const void *data)

Detailed Description

struct netlbl_lsm_cache - NetLabel LSM security attribute cache : atomic reference counter : LSM supplied function to free the cache data : LSM supplied cache data

Description: This structure is provided for LSMs which wish to make use of the NetLabel caching mechanism to store LSM specific data/attributes in the NetLabel cache. If the LSM has to perform a lot of translation from the NetLabel security attributes into it's own internal representation then the cache mechanism can provide a way to eliminate some or all of that translation overhead on a cache hit.

Definition at line 136 of file netlabel.h.

Field Documentation

Definition at line 139 of file netlabel.h.

void(* free)(const void *data)

Definition at line 138 of file netlabel.h.

atomic_t refcount

Definition at line 137 of file netlabel.h.

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