linux/arch
Jason A. Donenfeld 622754e84b stackprotector: actually use get_random_canary()
The RNG always mixes in the Linux version extremely early in boot. It
also always includes a cycle counter, not only during early boot, but
each and every time it is invoked prior to being fully initialized.
Together, this means that the use of additional xors inside of the
various stackprotector.h files is superfluous and over-complicated.
Instead, we can get exactly the same thing, but better, by just calling
`get_random_canary()`.

Acked-by: Guo Ren <guoren@kernel.org> # for csky
Acked-by: Catalin Marinas <catalin.marinas@arm.com> # for arm64
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-11-18 02:18:10 +01:00
..
alpha asm-generic: arch/alpha regression fix for 6.1 2022-10-14 13:47:42 -07:00
arc ARC: mm: fix leakage of memory allocated for PTE 2022-10-17 16:32:12 -07:00
arm stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
arm64 stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
csky stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
hexagon - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
ia64 - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
loongarch treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
m68k - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
microblaze - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
mips stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
nios2 - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
openrisc OpenRISC 6.1 Updates 2022-10-15 16:47:33 -07:00
parisc treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
powerpc stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
riscv stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
s390 treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
sh stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
sparc treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
um treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
x86 stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
xtensa stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
.gitignore
Kconfig - Yu Zhao's Multi-Gen LRU patches are here. They've been under test in 2022-10-10 17:53:04 -07:00