Warning: This file is not a C or C++ file. It does not have highlighting.

1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2009 IBM Corporation
4 * Author: Mimi Zohar <zohar@us.ibm.com>
5 */
6
7#ifndef _LINUX_INTEGRITY_H
8#define _LINUX_INTEGRITY_H
9
10#include <linux/fs.h>
11
12enum integrity_status {
13 INTEGRITY_PASS = 0,
14 INTEGRITY_PASS_IMMUTABLE,
15 INTEGRITY_FAIL,
16 INTEGRITY_FAIL_IMMUTABLE,
17 INTEGRITY_NOLABEL,
18 INTEGRITY_NOXATTRS,
19 INTEGRITY_UNKNOWN,
20};
21
22#ifdef CONFIG_INTEGRITY
23extern void __init integrity_load_keys(void);
24
25#else
26static inline void integrity_load_keys(void)
27{
28}
29#endif /* CONFIG_INTEGRITY */
30
31#endif /* _LINUX_INTEGRITY_H */
32

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/include/linux/integrity.h