Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
mls_types.h File Reference
#include "security.h"
#include "ebitmap.h"

Go to the source code of this file.

Data Structures

struct  mls_level
 
struct  mls_range
 

Macros

#define mls_level_incomp(l1, l2)   (!mls_level_dom((l1), (l2)) && !mls_level_dom((l2), (l1)))
 
#define mls_level_between(l1, l2, l3)   (mls_level_dom((l1), (l2)) && mls_level_dom((l3), (l1)))
 
#define mls_range_contains(r1, r2)
 

Macro Definition Documentation

#define mls_level_between (   l1,
  l2,
  l3 
)    (mls_level_dom((l1), (l2)) && mls_level_dom((l3), (l1)))

Definition at line 44 of file mls_types.h.

#define mls_level_incomp (   l1,
  l2 
)    (!mls_level_dom((l1), (l2)) && !mls_level_dom((l2), (l1)))

Definition at line 41 of file mls_types.h.

#define mls_range_contains (   r1,
  r2 
)
Value:
(mls_level_dom(&(r2).level[0], &(r1).level[0]) && \
mls_level_dom(&(r1).level[1], &(r2).level[1]))

Definition at line 47 of file mls_types.h.