Skip to content

Commit 55aee85

Browse files
committed
Always use Debian GNU/Linux explicitly
1 parent 261332c commit 55aee85

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lkmpg.tex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ \subsection{Kernel module package}
118118

119119
Linux distributions provide the commands \sh|modprobe|, \sh|insmod| and \sh|depmod| within a package.
120120

121-
On Ubuntu/Debian:
121+
On Ubuntu/Debian GNU/Linux:
122122
\begin{codebash}
123123
sudo apt-get install build-essential kmod
124124
\end{codebash}
@@ -202,7 +202,7 @@ \section{Headers}
202202
\label{sec:headers}
203203
Before you can build anything you'll need to install the header files for your kernel.
204204

205-
On Ubuntu/Debian:
205+
On Ubuntu/Debian GNU/Linux:
206206
\begin{codebash}
207207
sudo apt-get update
208208
apt-cache search linux-headers-`uname -r`
@@ -1456,7 +1456,9 @@ \section{System Calls}
14561456
Here we use both depend on the kernel version.
14571457

14581458
Because of the \textit{control-flow integrity}, which is a technique to prevent the redirect execution code from the attacker, for making sure that the indirect calls go to the expected addresses and the return addresses are not changed.
1459-
Since Linux v5.7, the kernel patched the series of \textit{control-flow enforcement} (CET) for x86, and some configurations of GCC, like GCC versions 9 and 10 in Ubuntu, will add with CET (the \verb|-fcf-protection| option) in the kernel by default.
1459+
Since Linux v5.7, the kernel patched the series of \textit{control-flow enforcement} (CET) for x86,
1460+
and some configurations of GCC, like GCC versions 9 and 10 in Ubuntu Linux,
1461+
will add with CET (the \verb|-fcf-protection| option) in the kernel by default.
14601462
Using that GCC to compile the kernel with retpoline off may result in CET being enabled in the kernel.
14611463
You can use the following command to check out the \verb|-fcf-protection| option is enabled or not:
14621464
\begin{verbatim}

0 commit comments

Comments
 (0)