mirror of
https://github.com/sysprog21/lkmpg.git
synced 2025-02-26 14:15:40 +08:00
deploy: 5b953eea75dc5c1c9a57f9714b755741be38f695
This commit is contained in:
parent
0b4f7054df
commit
1285092a41
@ -18,7 +18,7 @@
|
||||
|
||||
<h2 class='titleHead'>The Linux Kernel Module Programming Guide</h2>
|
||||
<div class='author'><span class='ecrm-1200'>Peter Jay Salzman, Michael Burian, Ori Pomerantz, Bob Mottram, Jim Huang</span></div><br />
|
||||
<div class='date'><span class='ecrm-1200'>August 31, 2021</span></div>
|
||||
<div class='date'><span class='ecrm-1200'>September 1, 2021</span></div>
|
||||
|
||||
|
||||
|
||||
@ -2949,7 +2949,7 @@ COLLECT_GCC_OPTIONS='-v' '-Q' '-O2' '--help=target' '-mtune=generic' '-marc
|
||||
...
|
||||
</pre>
|
||||
<!-- l. 1235 --><p class='nopar'>But CET should not be enabled in the kernel, it may break the Kprobes and bpf.
|
||||
Consequently, CET is disabled since v.11. To guarantee the manual symbol lookup
|
||||
Consequently, CET is disabled since v5.11. To guarantee the manual symbol lookup
|
||||
worked, we only use up to v5.4.
|
||||
</p><!-- l. 1240 --><p class='indent'> Unfortunately, since Linux v5.7 <code> <span class='ectt-1000'>kallsyms_lookup_name</span>
|
||||
</code> is also unexported, it needs certain trick to get the address of
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
<h2 class='titleHead'>The Linux Kernel Module Programming Guide</h2>
|
||||
<div class='author'><span class='ecrm-1200'>Peter Jay Salzman, Michael Burian, Ori Pomerantz, Bob Mottram, Jim Huang</span></div><br />
|
||||
<div class='date'><span class='ecrm-1200'>August 31, 2021</span></div>
|
||||
<div class='date'><span class='ecrm-1200'>September 1, 2021</span></div>
|
||||
|
||||
|
||||
|
||||
@ -2949,7 +2949,7 @@ COLLECT_GCC_OPTIONS='-v' '-Q' '-O2' '--help=target' '-mtune=generic' '-marc
|
||||
...
|
||||
</pre>
|
||||
<!-- l. 1235 --><p class='nopar'>But CET should not be enabled in the kernel, it may break the Kprobes and bpf.
|
||||
Consequently, CET is disabled since v.11. To guarantee the manual symbol lookup
|
||||
Consequently, CET is disabled since v5.11. To guarantee the manual symbol lookup
|
||||
worked, we only use up to v5.4.
|
||||
</p><!-- l. 1240 --><p class='indent'> Unfortunately, since Linux v5.7 <code> <span class='ectt-1000'>kallsyms_lookup_name</span>
|
||||
</code> is also unexported, it needs certain trick to get the address of
|
||||
|
Loading…
x
Reference in New Issue
Block a user