aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorAleksa Sarai <[email protected]>2024-10-09 20:40:35 +0000
committerChristian Brauner <[email protected]>2024-10-21 14:51:31 +0000
commit112cca098a7010c02a4d535a253af72e4e5bbd06 (patch)
tree769cd47813d2091fe7ec0873655d71d2f9c0c176 /fs/ext4/fast_commit.c
parentuaccess: add copy_struct_to_user helper (diff)
downloadkernel-112cca098a7010c02a4d535a253af72e4e5bbd06.tar.gz
kernel-112cca098a7010c02a4d535a253af72e4e5bbd06.zip
sched_getattr: port to copy_struct_to_user
sched_getattr(2) doesn't care about trailing non-zero bytes in the (ksize > usize) case, so just use copy_struct_to_user() without checking ignored_trailing. Signed-off-by: Aleksa Sarai <[email protected]> Link: https://lore.kernel.org/r/20241010-extensible-structs-check_fields-v3-2-d2833dfe6edd@cyphar.com Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions