linux/arch
Ard Biesheuvel e544ea57ac x86/boot/compressed: Force hidden visibility for all symbol references
Eliminate all GOT entries in the decompressor binary, by forcing hidden
visibility for all symbol references, which informs the compiler that
such references will be resolved at link time without the need for
allocating GOT entries.

To ensure that no GOT entries will creep back in, add an assertion to
the decompressor linker script that will fire if the .got section has
a non-zero size.

[Arvind: move hidden.h to include/linux instead of making a copy]

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200731230820.1742553-3-keescook@chromium.org
2020-08-14 12:52:34 +02:00
..
alpha mm/alpha: use general page fault accounting 2020-08-12 10:58:03 -07:00
arc mm/gup: remove task_struct pointer for all gup code 2020-08-12 10:58:04 -07:00
arm Merge branch 'akpm' (patches from Andrew) 2020-08-12 11:24:12 -07:00
arm64 PPC: 2020-08-12 12:25:06 -07:00
c6x Merge branch 'work.regset' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 09:29:25 -07:00
csky mm/csky: use general page fault accounting 2020-08-12 10:58:03 -07:00
h8300 uaccess: remove segment_eq 2020-08-12 10:57:58 -07:00
hexagon mm/hexagon: use general page fault accounting 2020-08-12 10:58:03 -07:00
ia64 Merge branch 'akpm' (patches from Andrew) 2020-08-12 11:24:12 -07:00
m68k mm/m68k: use general page fault accounting 2020-08-12 10:58:03 -07:00
microblaze mm/microblaze: use general page fault accounting 2020-08-12 10:58:03 -07:00
mips PPC: 2020-08-12 12:25:06 -07:00
nds32 mm/nds32: use general page fault accounting 2020-08-12 10:58:03 -07:00
nios2 mm/nios2: use general page fault accounting 2020-08-12 10:58:03 -07:00
openrisc mm/openrisc: use general page fault accounting 2020-08-12 10:58:03 -07:00
parisc Merge branch 'parisc-5.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2020-08-12 12:41:15 -07:00
powerpc PPC: 2020-08-12 12:25:06 -07:00
riscv mm/riscv: use general page fault accounting 2020-08-12 10:58:03 -07:00
s390 mm/gup: remove task_struct pointer for all gup code 2020-08-12 10:58:04 -07:00
sh mm/sh: use general page fault accounting 2020-08-12 10:58:03 -07:00
sparc mm/sparc64: use general page fault accounting 2020-08-12 10:58:04 -07:00
um Merge branch 'akpm' (patches from Andrew) 2020-08-12 11:24:12 -07:00
x86 x86/boot/compressed: Force hidden visibility for all symbol references 2020-08-14 12:52:34 +02:00
xtensa mm/xtensa: use general page fault accounting 2020-08-12 10:58:04 -07:00
.gitignore
Kconfig Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00