Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'core-urgent-2021-05-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 stack randomization fix from Ingo Molnar:
"Fix an assembly constraint that affected LLVM up to version 12"

* tag 'core-urgent-2021-05-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
stack: Replace "o" output with "r" input constraint

+1 -1
+1 -1
include/linux/randomize_kstack.h
··· 38 38 u32 offset = raw_cpu_read(kstack_offset); \ 39 39 u8 *ptr = __builtin_alloca(KSTACK_OFFSET_MAX(offset)); \ 40 40 /* Keep allocation even after "ptr" loses scope. */ \ 41 - asm volatile("" : "=o"(*ptr) :: "memory"); \ 41 + asm volatile("" :: "r"(ptr) : "memory"); \ 42 42 } \ 43 43 } while (0) 44 44