Difference between revisions of "Ksplice"

From ArchWiki
Jump to: navigation, search
m (*kmod utilities, nothing to do with the actual kmod)
(fix double redirect)
(Tag: wiki-scripts)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:Kernel]]
+
#redirect [[Kernel live patching]]
[[Category:Security]]
 
{{stub}}
 
Ksplice is an open source extension of the Linux kernel which allows system administrators to apply security patches to a running kernel without having to reboot the operating system.
 
 
 
== Installation ==
 
Install the {{AUR|ksplice}} package from the [[Arch User Repository]].
 
 
 
== Configuration ==
 
 
 
== Usage ==
 
{{Note|The following steps have only been tested on a custom Arch kernel.}}
 
{{out of date|KSplice currently compiles outdated kmod utilities and needs to be patched}}
 
First, you need some files from the previous kernel build: {{ic|System.map}} and {{ic|.config}}.
 
 
 
This example makes use of the {{ic|--diffext}} option which creates a patch based on the differences between the old and the new source files.
 
 
 
Make a {{ic|ksplice}} directory in the kernel source tree:
 
 
 
# mkdir -p src/ksplice
 
 
 
Copy {{ic|System.map}} over from the previous build:
 
 
 
# cp System.map src/ksplice
 
 
 
Copy {{ic|.config}} into the tree if it is not already in the source tree:
 
 
 
# cp .config src/
 
 
 
Create a ksplice patch and wait for the kernel to rebuild:
 
 
 
# ksplice-create --diffext=new src/
 
 
 
Apply the newly generated patch to the running kernel:
 
 
 
# ksplice-apply ksplice-*.tar.gz
 
== See also ==
 
*[http://www.ksplice.com/ Offical website of Ksplice]
 
*[https://en.wikipedia.org/wiki/Ksplice Ksplice on Wikipedia]
 
*[http://cormander.com/2011/08/how-to-use-the-ksplice-raw-utilities/ How to use the Ksplice raw utilities]
 
[[Category:Kernel]]
 
[[Category:Security]]
 

Latest revision as of 09:57, 30 July 2017