Skip to content

Commit bd9e97e

Browse files
committed
Merge: Revert "objtool: Exclude __tracepoints data from ENDBR checks"
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/796 JIRA: https://issues.redhat.com/browse/RHEL-87959 Upstream Status: RHEL-only Revert commit d5ae766 to ensure that syscall_regfunc() includes an ENDBR instruction to prevent Intel CET/IBT from triggering a control protection exemption, causing a system panic. Signed-off-by: Anubhav Shelat <ashelat@redhat.com> Approved-by: Josh Poimboeuf <jpoimboe@redhat.com> Approved-by: Joe Lawrence <joe.lawrence@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Julio Faracco <jfaracco@redhat.com>
2 parents c7da674 + bf078b2 commit bd9e97e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/objtool/check.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4578,7 +4578,6 @@ static int validate_ibt(struct objtool_file *file)
45784578
!strcmp(sec->name, ".kcfi_traps") ||
45794579
!strcmp(sec->name, ".llvm.call-graph-profile") ||
45804580
!strcmp(sec->name, ".llvm_bb_addr_map") ||
4581-
!strcmp(sec->name, "__tracepoints") ||
45824581
strstr(sec->name, "__patchable_function_entries"))
45834582
continue;
45844583

0 commit comments

Comments
 (0)