Skip to content

Commit 84cc7fe

Browse files
authored
Fix typo (#265)
Change return-object programming to return-oriented programming.
1 parent 9504084 commit 84cc7fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lkmpg.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,7 @@ \subsection{Flashing keyboard LEDs}
17601760
Keyboard LEDs are present on every hardware, they are always visible, they do not need any setup, and their use is rather simple and non-intrusive, compared to writing to a tty or a file.
17611761

17621762
From v4.14 to v4.15, the timer API made a series of changes to improve memory safety.
1763-
A buffer overflow in the area of a \cpp|timer_list| structure may be able to overwrite the \cpp|function| and \cpp|data| fields, providing the attacker with a way to use return-object programming (ROP) to call arbitrary functions within the kernel.
1763+
A buffer overflow in the area of a \cpp|timer_list| structure may be able to overwrite the \cpp|function| and \cpp|data| fields, providing the attacker with a way to use return-oriented programming (ROP) to call arbitrary functions within the kernel.
17641764
Also, the function prototype of the callback, containing a \cpp|unsigned long| argument, will prevent work from any type checking.
17651765
Furthermore, the function prototype with \cpp|unsigned long| argument may be an obstacle to the forward-edge protection of \textit{control-flow integrity}.
17661766
Thus, it is better to use a unique prototype to separate from the cluster that takes an \cpp|unsigned long| argument.

0 commit comments

Comments
 (0)