avc_ss.h 617 B

1234567891011121314151617181920212223242526272829303132333435
  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. struct av_perm_to_string {
  11. u16 tclass;
  12. u32 value;
  13. const char *name;
  14. };
  15. struct av_inherit {
  16. const char **common_pts;
  17. u32 common_base;
  18. u16 tclass;
  19. };
  20. struct selinux_class_perm {
  21. const struct av_perm_to_string *av_perm_to_string;
  22. u32 av_pts_len;
  23. u32 cts_len;
  24. const char **class_to_string;
  25. const struct av_inherit *av_inherit;
  26. u32 av_inherit_len;
  27. };
  28. #endif /* _SELINUX_AVC_SS_H_ */