Macros
access.h File Reference

Go to the source code of this file.

Macros

#define ACCESS_READ(o1, o2)   (_Security->AccessReadObj(o1, o2))
 
#define ACCESS_WRITE(o1, o2)   (_Security->AccessWriteObj(o1, o2))
 
#define FAIL   -1
 
#define ACCESS_DENIED   0
 
#define ACCESS_GRANTED   1
 
#define ACCESS_BLOCKED   2
 
#define SANCTION_READ   1
 
#define SANCTION_EXECUTE   2
 
#define SANCTION_MOVE   4
 
#define SANCTION_WRITE   8
 
#define SANCTION_INSERT   16
 
#define SANCTION_ANNOTATE   32
 
#define SANCTION_SANCTION   (1<<8)
 
#define SANCTION_LOCAL   (1<<9)
 
#define SANCTION_ALL   (1<<15)-1
 
#define SANCTION_SHIFT_DENY   16
 
#define SANCTION_COMPLETE   (0xffffffff)
 
#define SANCTION_POSITIVE   (0xffff0000)
 
#define SANCTION_NEGATIVE   (0x0000ffff)
 
#define SANCTION_READ_ROLE   (SANCTION_READ|SANCTION_EXECUTE|SANCTION_ANNOTATE)
 

Macro Definition Documentation

#define ACCESS_BLOCKED   2

Definition at line 29 of file access.h.

#define ACCESS_DENIED   0

Definition at line 27 of file access.h.

#define ACCESS_GRANTED   1

Definition at line 28 of file access.h.

#define ACCESS_READ (   o1,
  o2 
)    (_Security->AccessReadObj(o1, o2))

Definition at line 23 of file access.h.

#define ACCESS_WRITE (   o1,
  o2 
)    (_Security->AccessWriteObj(o1, o2))

Definition at line 24 of file access.h.

#define FAIL   -1

Definition at line 26 of file access.h.

#define SANCTION_ALL   (1<<15)-1

Definition at line 40 of file access.h.

#define SANCTION_ANNOTATE   32

Definition at line 36 of file access.h.

#define SANCTION_COMPLETE   (0xffffffff)

Definition at line 42 of file access.h.

#define SANCTION_EXECUTE   2

Definition at line 32 of file access.h.

#define SANCTION_INSERT   16

Definition at line 35 of file access.h.

#define SANCTION_LOCAL   (1<<9)

Definition at line 39 of file access.h.

#define SANCTION_MOVE   4

Definition at line 33 of file access.h.

#define SANCTION_NEGATIVE   (0x0000ffff)

Definition at line 44 of file access.h.

#define SANCTION_POSITIVE   (0xffff0000)

Definition at line 43 of file access.h.

#define SANCTION_READ   1

Definition at line 31 of file access.h.

#define SANCTION_READ_ROLE   (SANCTION_READ|SANCTION_EXECUTE|SANCTION_ANNOTATE)

Definition at line 46 of file access.h.

#define SANCTION_SANCTION   (1<<8)

Definition at line 38 of file access.h.

#define SANCTION_SHIFT_DENY   16

Definition at line 41 of file access.h.

#define SANCTION_WRITE   8

Definition at line 34 of file access.h.