This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
forked from microsoft/WSL2-Linux-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'clang-cfi' of https://github.com/samitolvanen/linux int…
…o next * 'clang-cfi' of https://github.com/samitolvanen/linux: security: fix the key_permission LSM hook function type x86/entry: disable CFI for run_on_irqstack_cond x86: kprobes: mark optprobe_template_func global x86: map CFI jump tables in pti_clone_entry_text x86, module: Ignore __typeid__ relocations x86, relocs: Ignore __typeid__ relocations x86/alternatives: Use C int3 selftest but disable KASAN x86/extable: Do not mark exception callback as CFI arm64: disable BTI with CFI_CLANG arm64: kvm: disable CFI arm64: add __nocfi to __apply_alternatives arm64: add __pa_function arm64: add __nocfi to functions that jump to a physical address lib/list_sort: fix function type mismatches bpf: disable CFI in dispatcher functions kallsyms: cfi: strip hashes from static functions workqueue: cfi: disable callback pointer check with modules objtool: cfi: ignore CFI jump tables export: cfi: fix ksymtab addresses module: cfi: ensure __cfi_check alignment cfi: add __cficanonical and fix PREL32 relocations add support for Clang's Control Flow Integrity (CFI) x86, build: allow LTO_CLANG and THINLTO to be selected x86, relocs: Ignore L4_PAGE_OFFSET relocations x86, ftrace: disable recordmcount for ftrace_make_nop x86, vdso: disable LTO only for vDSO arm64: allow LTO_CLANG and THINLTO to be selected arm64: vdso: disable LTO arm64: export CC_USING_PATCHABLE_FUNCTION_ENTRY drivers/misc/lkdtm: disable LTO for rodata.o efi/libstub: disable LTO scripts/mod: disable LTO for empty.c modpost: lto: strip .lto from module names pci: lto: fix PREL32 relocations init: lto: fix PREL32 relocations init: lto: ensure initcall ordering kbuild: lto: remove duplicate dependencies from .mod files kbuild: lto: merge module sections kbuild: lto: limit inlining kbuild: lto: fix stack validation kbuild: lto: fix recordmcount kbuild: lto: fix module versioning kbuild: add support for Clang LTO recordmcount: support >64k sections objtool: use sh_info to find the base for .rela sections Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
- Loading branch information
Showing
66 changed files
with
1,546 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ | |
*.so.dbg | ||
*.su | ||
*.symtypes | ||
*.symversions | ||
*.tab.[ch] | ||
*.tar | ||
*.xz | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
# | ||
|
||
ccflags-y += -I $(srctree)/$(src) | ||
CFLAGS_REMOVE_debug.o += $(CC_FLAGS_CFI) | ||
|
||
KVM=../../../virt/kvm | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.