[PATCH RFC v2 15/42] tracefs: use fc_init_pseudo()

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sat Nov 14 13:19:08 UTC 2026


> Initialize tracefs as a pseudo filesystem. This raises SB_I_PSEUDO and
> also SB_I_NOEXEC and SB_I_NODEV. tracefs never holds executables or
> device nodes.
> 
> SB_I_NOEXEC also refuses PROT_EXEC mappings. The only tracefs files
> that can be mapped are the ring buffers and __rb_map_vma() refuses
> VM_EXEC already.
> 
> Reviewed-by: Alexander Mikhalitsyn <alex at amutable.com>
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261114-work-loop-pseudo-v2-0-98639a2286fb@kernel.org?part=15




More information about the Linux-security-module-archive mailing list