mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
540 B
24 lines
540 B
/* SPDX-License-Identifier: GPL-2.0+ */ |
|
/* |
|
* Copyright (C) 2021 Microsoft Corporation |
|
* |
|
* Author: Lakshmi Ramasubramanian ([email protected]) |
|
* |
|
* Measure critical data structures maintainted by SELinux |
|
* using IMA subsystem. |
|
*/ |
|
|
|
#ifndef _SELINUX_IMA_H_ |
|
#define _SELINUX_IMA_H_ |
|
|
|
#include "security.h" |
|
|
|
#ifdef CONFIG_IMA |
|
extern void selinux_ima_measure_state(struct selinux_state *selinux_state); |
|
#else |
|
static inline void selinux_ima_measure_state(struct selinux_state *selinux_state) |
|
{ |
|
} |
|
#endif |
|
|
|
#endif /* _SELINUX_IMA_H_ */
|
|
|