Commit bf078b2
committed
Revert "objtool: Exclude __tracepoints data from ENDBR checks"
JIRA: https://issues.redhat.com/browse/RHEL-87959
Upstream Status: RHEL-only
This reverts commit d5ae766.
When tracepoints are enabled, tracepoint_add_func() does an indirect call
to syscall_regfunc(). Since tracepoint data is excluded from ENDBR
checks, syscall_regfunc() is missing an ENDBR instruction
which causes Intel CET/IBT to throw a control protection exemption.
Therefore, revert commit d5ae766 to ensure the ENDBR instruction is
included.
Signed-off-by: Anubhav Shelat <ashelat@redhat.com>1 parent 88894d4 commit bf078b2
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4578 | 4578 | | |
4579 | 4579 | | |
4580 | 4580 | | |
4581 | | - | |
4582 | 4581 | | |
4583 | 4582 | | |
4584 | 4583 | | |
| |||
0 commit comments