Fix duplicate atomic_t typedef conflicting with types.h
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Linux Security Module interface to other subsystems.
|
||||
* AppArmor presents single pointer to an aa_label structure.
|
||||
*/
|
||||
#ifndef __LINUX_LSM_APPARMOR_H
|
||||
#define __LINUX_LSM_APPARMOR_H
|
||||
|
||||
struct aa_label;
|
||||
|
||||
struct lsm_prop_apparmor {
|
||||
#ifdef CONFIG_SECURITY_APPARMOR
|
||||
struct aa_label *label;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* ! __LINUX_LSM_APPARMOR_H */
|
||||
@@ -0,0 +1,16 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Linux Security Module interface to other subsystems.
|
||||
* BPF may present a single u32 value.
|
||||
*/
|
||||
#ifndef __LINUX_LSM_BPF_H
|
||||
#define __LINUX_LSM_BPF_H
|
||||
#include <linux/types.h>
|
||||
|
||||
struct lsm_prop_bpf {
|
||||
#ifdef CONFIG_BPF_LSM
|
||||
u32 secid;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* ! __LINUX_LSM_BPF_H */
|
||||
@@ -0,0 +1,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 */
|
||||
@@ -0,0 +1,17 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Linux Security Module interface to other subsystems.
|
||||
* Smack presents a pointer into the global Smack label list.
|
||||
*/
|
||||
#ifndef __LINUX_LSM_SMACK_H
|
||||
#define __LINUX_LSM_SMACK_H
|
||||
|
||||
struct smack_known;
|
||||
|
||||
struct lsm_prop_smack {
|
||||
#ifdef CONFIG_SECURITY_SMACK
|
||||
struct smack_known *skp;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* ! __LINUX_LSM_SMACK_H */
|
||||
Reference in New Issue
Block a user