Linux Kernel
3.7.1
|
#include <netlabel.h>
Data Fields | |
atomic_t | refcount |
void(* | free )(const void *data) |
void * | data |
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.
Definition at line 139 of file netlabel.h.
atomic_t refcount |
Definition at line 137 of file netlabel.h.