linux/security/selinux/include/ima.h
Christian Göttsche 3d9047a064 selinux: adjust typos in comments
Found by codespell(1)

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2023-05-08 16:44:01 -04:00

29 lines
591 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2021 Microsoft Corporation
*
* Author: Lakshmi Ramasubramanian (nramas@linux.microsoft.com)
*
* Measure critical data structures maintained 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(void);
extern void selinux_ima_measure_state_locked(void);
#else
static inline void selinux_ima_measure_state(void)
{
}
static inline void selinux_ima_measure_state_locked(void)
{
}
#endif
#endif /* _SELINUX_IMA_H_ */