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

#include <netlabel.h>

Data Fields

u32 flags
 
u32 type
 
chardomain
 
struct netlbl_lsm_cachecache
 
struct {
   struct {
      struct netlbl_lsm_secattr_catmap *   cat
 
      u32   lvl
 
   }   mls
 
   u32   secid
 
attr
 

Detailed Description

struct netlbl_lsm_secattr - NetLabel LSM security attributes : indicate structure attributes, see NETLBL_SECATTR_* : indicate the NLTYPE of the attributes : the NetLabel LSM domain : NetLabel LSM specific cache .mls: MLS sensitivity label .mls.cat: MLS category bitmap .mls.lvl: MLS sensitivity level .secid: LSM specific secid token

Description: This structure is used to pass security attributes between NetLabel and the LSM modules. The flags field is used to specify which fields within the struct are valid and valid values can be created by bitwise OR'ing the NETLBL_SECATTR_* defines. The domain field is typically set by the LSM to specify domain specific configuration settings and is not usually used by NetLabel itself when returning security attributes to the LSM.

Definition at line 192 of file netlabel.h.

Field Documentation

struct { ... } attr

Definition at line 210 of file netlabel.h.

Definition at line 213 of file netlabel.h.

char* domain

Definition at line 209 of file netlabel.h.

u32 flags

Definition at line 193 of file netlabel.h.

u32 lvl

Definition at line 214 of file netlabel.h.

struct { ... } mls
u32 secid

Definition at line 216 of file netlabel.h.

Definition at line 208 of file netlabel.h.


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