avc_ss.h 617 B

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