Commit de02f2a
committed
kprobes: Prohibit probing on CFI preamble symbol
Do not allow to probe on "__cfi_" or "__pfx_" started symbol, because those
are used for CFI and not executed. Probing it will break the CFI.
Link: https://lore.kernel.org/all/168904024679.116016.18089228029322008512.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent 02ab723 commit de02f2a
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1545 | 1545 | | |
1546 | 1546 | | |
1547 | 1547 | | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
1548 | 1559 | | |
1549 | 1560 | | |
1550 | 1561 | | |
| |||
1563 | 1574 | | |
1564 | 1575 | | |
1565 | 1576 | | |
1566 | | - | |
| 1577 | + | |
| 1578 | + | |
1567 | 1579 | | |
1568 | 1580 | | |
1569 | 1581 | | |
| |||
0 commit comments