| 1 | #ifndef _CHECKPOLICY_H_ |
| 2 | #define _CHECKPOLICY_H_ |
| 3 | |
| 4 | #include <sepol/policydb/ebitmap.h> |
| 5 | |
| 6 | typedef struct te_assert { |
| 7 | ebitmap_t stypes; |
| 8 | ebitmap_t ttypes; |
| 9 | ebitmap_t tclasses; |
| 10 | int self; |
| 11 | sepol_access_vector_t *avp; |
| 12 | unsigned long line; |
| 13 | struct te_assert *next; |
| 14 | } te_assert_t; |
| 15 | |
| 16 | te_assert_t *te_assertions; |
| 17 | |
| 18 | extern unsigned int policyvers; |
| 19 | |
| 20 | #endif |