avc_ss.h 522 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Access vector cache interface for the security server.
  4. *
  5. * Author : Stephen Smalley, <sds@tycho.nsa.gov>
  6. */
  7. #ifndef _SELINUX_AVC_SS_H_
  8. #define _SELINUX_AVC_SS_H_
  9. #include "flask.h"
  10. struct selinux_avc;
  11. int avc_ss_reset(struct selinux_avc *avc, u32 seqno);
  12. /* Class/perm mapping support */
  13. struct security_class_mapping {
  14. const char *name;
  15. const char *perms[sizeof(u32) * 8 + 1];
  16. };
  17. extern struct security_class_mapping secclass_map[];
  18. #endif /* _SELINUX_AVC_SS_H_ */