------+
</code></pre>
<h4><a class="header" href="#how-to-make-kernel-module" id="how-to-make-kernel-module">How to make kernel module</a></h4>
<ol>
<li>Download and unpack kernel source matching with patches's distro.</li>
<li>Test patch file with option <a href="https://www.gnu.org/software/diffutils/manual/html_node/Dry-Runs.html">dry-run</a></li>
<li>Read special section data with command (readelf -wi &quot;$VMLINUX&quot;)
<ul>
<li>alt_instr, bug_entry size,  jump_entry size ...</li>
</ul>
</li>
<li>Bui