avc_ss.h 577 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Access vector cache interface for the security server.
  3. *
  4. * Author : Stephen Smalley, <sds@epoch.ncsc.mil>
  5. */
  6. #ifndef _SELINUX_AVC_SS_H_
  7. #define _SELINUX_AVC_SS_H_
  8. #include "flask.h"
  9. int avc_ss_reset(u32 seqno);
  10. /* Class/perm mapping support */
  11. struct security_class_mapping {
  12. const char *name;
  13. const char *perms[sizeof(u32) * 8 + 1];
  14. };
  15. extern struct security_class_mapping secclass_map[];
  16. /*
  17. * The security server must be initialized before
  18. * any labeling or access decisions can be provided.
  19. */
  20. extern int ss_initialized;
  21. #endif /* _SELINUX_AVC_SS_H_ */