https://github.com/torvalds/linux
Revision addebd9ac9ca0ef8b3764907bf8018e48caffc64 authored by Keith Busch on 12 August 2022, 22:56:33 UTC, committed by Jens Axboe on 12 August 2022, 23:00:35 UTC
This is a size sensitive structure and randomizing can introduce extra
padding that breaks io_uring's fixed size expectations. There are few
fields here as it is, half of which need a fixed order to optimally
pack, so the randomization isn't providing much.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/io-uring/b6f508ca-b1b2-5f40-7998-e4cff1cf7212@kernel.dk/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent da2634e
History
Tip revision: addebd9ac9ca0ef8b3764907bf8018e48caffc64 authored by Keith Busch on 12 August 2022, 22:56:33 UTC
fs: don't randomize struct kiocb fields
Tip revision: addebd9
File Mode Size
dummy-include
include
.gitignore -rw-r--r-- 96 bytes
Kconfig -rw-r--r-- 7.7 KB
Makefile -rw-r--r-- 2.7 KB
default_cpio_list -rw-r--r-- 153 bytes
gen_init_cpio.c -rw-r--r-- 14.3 KB
gen_initramfs.sh -rwxr-xr-x 5.7 KB
initramfs_data.S -rw-r--r-- 1.2 KB

back to top