24 lines
502 B
C
Raw Normal View History

2026-01-21 18:59:54 +08:00
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Access vector cache interface for the security server.
*
2026-01-29 22:25:33 +08:00
* Author : Stephen Smalley, <stephen.smalley.work@gmail.com>
2026-01-21 18:59:54 +08:00
*/
#ifndef _SELINUX_AVC_SS_H_
#define _SELINUX_AVC_SS_H_
2026-01-29 22:25:33 +08:00
#include <linux/types.h>
2026-01-21 18:59:54 +08:00
2026-01-29 22:25:33 +08:00
int avc_ss_reset(u32 seqno);
2026-01-21 18:59:54 +08:00
/* Class/perm mapping support */
struct security_class_mapping {
const char *name;
const char *perms[sizeof(u32) * 8 + 1];
};
2026-01-29 22:25:33 +08:00
extern const struct security_class_mapping secclass_map[];
2026-01-21 18:59:54 +08:00
#endif /* _SELINUX_AVC_SS_H_ */