| 1 |
|
| 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
|
| 22 | #ifdef CONFIG_IPE_PROP_FS_VERITY_BUILTIN_SIG
|
| 23 | struct ipe_inode *ipe_inode(const struct inode *inode);
|
| 24 | #endif
|
| 25 |
|
| 26 | int ipe_init_securityfs(void);
|
| 27 |
|
| 28 | #endif
|