aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorPeter Oberparleiter <[email protected]>2025-08-21 13:12:37 +0000
committerAlexander Gordeev <[email protected]>2025-08-21 15:46:14 +0000
commit3868f910440c47cd5d158776be4ba4e2186beda7 (patch)
tree7ac157b47cbb51bb7fecc2801e5db2f476e19980 /scripts/generate_rust_target.rs
parents390/hypfs: Avoid unnecessary ioctl registration in debugfs (diff)
downloadkernel-3868f910440c47cd5d158776be4ba4e2186beda7.tar.gz
kernel-3868f910440c47cd5d158776be4ba4e2186beda7.zip
s390/hypfs: Enable limited access during lockdown
When kernel lockdown is active, debugfs_locked_down() blocks access to hypfs files that register ioctl callbacks, even if the ioctl interface is not required for a function. This unnecessarily breaks userspace tools that only rely on read operations. Resolve this by registering a minimal set of file operations during lockdown, avoiding ioctl registration and preserving access for affected tooling. Note that this change restores hypfs functionality when lockdown is active from early boot (e.g. via lockdown=integrity kernel parameter), but does not apply to scenarios where lockdown is enabled dynamically while Linux is running. Tested-by: Mete Durlu <[email protected]> Reviewed-by: Vasily Gorbik <[email protected]> Fixes: 5496197f9b08 ("debugfs: Restrict debugfs when the kernel is locked down") Signed-off-by: Peter Oberparleiter <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions