Skip to content

Commit e61a0d6

Browse files
committed
Enforce consistent name scheme
1 parent 7f94878 commit e61a0d6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ obj-m += print_string.o
1616
obj-m += kbleds.o
1717
obj-m += sched.o
1818
obj-m += chardev2.o
19-
obj-m += syscall_steal.o
19+
obj-m += syscall-steal.o
2020
obj-m += intrpt.o
2121
obj-m += cryptosha256.o
2222
obj-m += cryptosk.o
File renamed without changes.

lkmpg.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ \section{System Calls}
14911491
ffffffff82000280 R x32_sys_call_table
14921492
ffffffff820013a0 R sys_call_table
14931493
ffffffff820023e0 R ia32_sys_call_table
1494-
$ sudo insmod syscall_steal.ko sym=0xffffffff820013a0
1494+
$ sudo insmod syscall-steal.ko sym=0xffffffff820013a0
14951495
\end{verbatim}
14961496

14971497
Using the address from \verb|/boot/System.map|, be careful about \verb|KASLR| (Kernel Address Space Layout Randomization).
@@ -1562,7 +1562,7 @@ \section{System Calls}
15621562
In order to keep people from doing potential harmful things \cpp|sys_call_table| is no longer exported.
15631563
This means, if you want to do something more than a mere dry run of this example, you will have to patch your current kernel in order to have \cpp|sys_call_table| exported.
15641564

1565-
\samplec{examples/syscall.c}
1565+
\samplec{examples/syscall-steal.c}
15661566

15671567
\section{Blocking Processes and threads}
15681568
\label{sec:blocking_process_thread}

0 commit comments

Comments
 (0)