avc_ss.h 477 B

1234567891011121314151617181920212223
  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. int avc_ss_reset(u32 seqno);
  11. /* Class/perm mapping support */
  12. struct security_class_mapping {
  13. const char *name;
  14. const char *perms[sizeof(u32) * 8 + 1];
  15. };
  16. extern struct security_class_mapping secclass_map[];
  17. #endif /* _SELINUX_AVC_SS_H_ */