Commit 141e452
fix: use correct FUSE magic for IMA
`FUSE_CTL_SUPER_MAGIC` is the superblock magic of the [control
filesystem](https://www.kernel.org/doc/html/v6.12/filesystems/fuse.html#control-filesystem),
actual FUSE mount points have `FUSE_SUPER_MAGIC` in their superblock. This
mismatch essentially makes the `dont_measure` rule a no-op, which causes all
files under FUSE mount points to be measured with SHA-512 on every `open(2)`,
equivalently to #11129, causing major
performance overhead.
As #11133 disables IMA globally for
future releases, this is only relevant for v1.10 and before, see
#11129 (comment) for
details.
Signed-off-by: Dennis Marttinen <twelho@welho.tech>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>fsmagic matching1 parent 09a4ed1 commit 141e452
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments