context.h revision 255e72915d4cbddceb435e13d81601755714e9f3
1#ifndef _SEPOL_CONTEXT_H_ 2#define _SEPOL_CONTEXT_H_ 3 4#include <sepol/context_record.h> 5#include <sepol/policydb.h> 6#include <sepol/handle.h> 7 8/* -- Deprecated -- */ 9 10extern int sepol_check_context(const char *context); 11 12/* -- End deprecated -- */ 13 14extern int sepol_context_check(sepol_handle_t * handle, 15 const sepol_policydb_t * policydb, 16 const sepol_context_t * context); 17 18extern int sepol_mls_contains(sepol_handle_t * handle, 19 const sepol_policydb_t * policydb, 20 const char *mls1, 21 const char *mls2, int *response); 22 23extern int sepol_mls_check(sepol_handle_t * handle, 24 const sepol_policydb_t * policydb, const char *mls); 25#endif 26