Skip to content

Commit f105003

Browse files
authored
Merge pull request #315 from linD026/master
syscall: Add description of unavailable since v6.9
2 parents fd6c976 + 98e9cb1 commit f105003

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lkmpg.tex

+4
Original file line numberDiff line numberDiff line change
@@ -1415,6 +1415,10 @@ \section{System Calls}
14151415
But what if you want to do something unusual, to change the behavior of the system in some way?
14161416
Then, you are mostly on your own.
14171417

1418+
Notice that this example has been unavailable since Linux v6.9.
1419+
Specifically after this \href{https://github.com/torvalds/linux/commit/1e3ad78334a69b36e107232e337f9d693dcc9df2#diff-4a16bf89a09b4f49669a30d54540f0b936ea0224dc6ee9edfa7700deb16c3e11R52}{commit}, due to the system call table changing the implementation from an indirect function call table to a switch statement for security issue, such as Branch History Injection (BHI) attack.
1420+
See more information \href{https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060909}{here}.
1421+
14181422
Should one choose not to use a virtual machine, kernel programming can become risky.
14191423
For example, while writing the code below, the \cpp|open()| system call was inadvertently disrupted.
14201424
This resulted in an inability to open any files, run programs, or shut down the system, necessitating a restart of the virtual machine.

0 commit comments

Comments
 (0)