Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/security/ipe/ipe.h
26378 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
/*
3
* Copyright (C) 2020-2024 Microsoft Corporation. All rights reserved.
4
*/
5
6
#ifndef _IPE_H
7
#define _IPE_H
8
9
#ifdef pr_fmt
10
#undef pr_fmt
11
#endif
12
#define pr_fmt(fmt) "ipe: " fmt
13
14
#include <linux/lsm_hooks.h>
15
struct ipe_superblock *ipe_sb(const struct super_block *sb);
16
17
extern bool ipe_enabled;
18
19
#ifdef CONFIG_IPE_PROP_DM_VERITY
20
struct ipe_bdev *ipe_bdev(struct block_device *b);
21
#endif /* CONFIG_IPE_PROP_DM_VERITY */
22
#ifdef CONFIG_IPE_PROP_FS_VERITY_BUILTIN_SIG
23
struct ipe_inode *ipe_inode(const struct inode *inode);
24
#endif /* CONFIG_IPE_PROP_FS_VERITY_BUILTIN_SIG */
25
26
#endif /* _IPE_H */
27
28