summaryrefslogtreecommitdiffstats
path: root/include/linux/lsm/selinux.h
blob: 9455a6b5b91007c42b3e7aa9d5ea70fb9fd4ad37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Linux Security Module interface to other subsystems.
 * SELinux presents a single u32 value which is known as a secid.
 */
#ifndef __LINUX_LSM_SELINUX_H
#define __LINUX_LSM_SELINUX_H
#include <linux/types.h>

struct lsm_prop_selinux {
#ifdef CONFIG_SECURITY_SELINUX
	u32 secid;
#endif
};

#endif /* ! __LINUX_LSM_SELINUX_H */