Skip to content

Commit

Permalink
fixed incorrect info about kernel version number
Browse files Browse the repository at this point in the history
  • Loading branch information
tbazant committed Aug 4, 2023
1 parent 6b8099d commit 8af17d6
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions xml/klp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,23 @@
every addition of fixes.
</para>

<warning>
<note>
<title>Live patches and the running kernel</title>
<para>
Applying a live patch does not change the version of the running kernel as
reported by the <command>uname</command> command. To determine the host's
patching status, use the <command>klp status</command> and
<command>klp -v patches</command> commands.
After a live patch is applied, the
<literal>lp-<replaceable>HASH</replaceable></literal> string is added to
the version of the running kernel as reported by the <command>uname
-a</command> command.
</para>
</warning>
<screen>&prompt.user;uname -a
Linux sle15-sp3 5.3.18-150300.59.101-default #1 SMP \
Tue Nov 1 11:32:03 UTC 2022 (b2a976e/<emphasis role="bold">lp-cd28ef5</emphasis>) x86_64 x86_64 x86_64 GNU/Linux
</screen>
<para>
To determine the kernel patching status, use the <command>klp -v
patches</command> command.
</para>
</note>

<important>
<title>Live patches compared to kernel updates</title>
Expand Down

0 comments on commit 8af17d6

Please sign in to comment.