#ifndef _LINUX_INTEGRITY_H
#define _LINUX_INTEGRITY_H
#include <linux/fs.h>
#include <linux/iversion.h>
enum integrity_status { … };
#ifdef CONFIG_INTEGRITY
extern void __init integrity_load_keys(void);
#else
static inline void integrity_load_keys(void)
{
}
#endif
struct integrity_inode_attributes { … };
static inline void
integrity_inode_attrs_store(struct integrity_inode_attributes *attrs,
u64 i_version, const struct inode *inode)
{ … }
static inline bool
integrity_inode_attrs_changed(const struct integrity_inode_attributes *attrs,
const struct inode *inode)
{ … }
#endif