diff options
| author | Peter Oberparleiter <[email protected]> | 2025-08-21 12:35:40 +0000 |
|---|---|---|
| committer | Alexander Gordeev <[email protected]> | 2025-08-21 15:46:13 +0000 |
| commit | fec7bdfe7f8694a0c39e6c3ec026ff61ca1058b9 (patch) | |
| tree | 419e0d1f8b029352ea410eaac4d96015ae218ca8 /scripts/generate_rust_target.rs | |
| parent | s390/mm: Do not map lowcore with identity mapping (diff) | |
| download | kernel-fec7bdfe7f8694a0c39e6c3ec026ff61ca1058b9.tar.gz kernel-fec7bdfe7f8694a0c39e6c3ec026ff61ca1058b9.zip | |
s390/hypfs: Avoid unnecessary ioctl registration in debugfs
Currently, hypfs registers ioctl callbacks for all debugfs files,
despite only one file requiring them. This leads to unintended exposure
of unused interfaces to user space and can trigger side effects such as
restricted access when kernel lockdown is enabled.
Restrict ioctl registration to only those files that implement ioctl
functionality to avoid interface clutter and unnecessary access
restrictions.
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
