diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-09-04 19:36:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-09-04 19:36:11 -0700 |
| commit | 4d7d9486c04d917265f64c55bd23b2cc4fe7749c (patch) | |
| tree | 5284758ed1191cf5b42c42a0f55c2b2ba9b16b03 /fs | |
| parent | 654ae5d73c05bd2943d65636ce6cd0aa46e62f18 (diff) | |
| parent | 6903878d4654bdef4e08e38cdf1ae306ce7de5f9 (diff) | |
| download | linux-4d7d9486c04d917265f64c55bd23b2cc4fe7749c.tar.gz linux-4d7d9486c04d917265f64c55bd23b2cc4fe7749c.zip | |
Merge tag 'integrity-v7.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
Pull IMA fixes from Mimi Zohar:
- Instantiating the ima_file_truncate and ima_path_truncate LSM hooks
resulted in configfs locking issues.
configfs files should not be measured, appraised, or audited in the
first place, so the builtin policies are updated to exclude them.
- IMA audit messages include the filename, which could result in a page
fault when the filename doesn't exist
- Un-hide the IMA_MEASURE_PCR_IDX Kconfig prompt
* tag 'integrity-v7.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
ima: allow users to specify the pcr index with IMA_MEASURE_PCR_IDX
ima: Check for ERR_PTR from dentry_path() in validate_hash_algo()
ima: don't measure/appraise files on configfs
configfs: move CONFIGFS_MAGIC definition to magic.h
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/configfs/mount.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c index 4929f3431189..d8cac1cbf3bd 100644 --- a/fs/configfs/mount.c +++ b/fs/configfs/mount.c @@ -9,6 +9,7 @@ */ #include <linux/fs.h> +#include <linux/magic.h> #include <linux/module.h> #include <linux/mount.h> #include <linux/fs_context.h> @@ -19,9 +20,6 @@ #include <linux/configfs.h> #include "configfs_internal.h" -/* Random magic number */ -#define CONFIGFS_MAGIC 0x62656570 - static struct vfsmount *configfs_mount = NULL; struct kmem_cache *configfs_dir_cachep; static int configfs_mnt_count = 0; |
