Documentation ¶
Overview ¶
Package maccess provides functionality to check if a certain bug in copy_from_user_nofault is patched.
There were issues with the Linux kernel function copy_from_user_nofault that caused systems to freeze. These issues were fixed with the following patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d319f344561de23e810515d109c7278919bff7b0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFromUserNoFaultIsPatched ¶
func CopyFromUserNoFaultIsPatched(codeblob []byte, faultyFuncAddr uint64, newCheckFuncAddr uint64) (bool, error)
CopyFromUserNoFaultIsPatched tries to find a relative jump instruction in codeblob and returns true if this jump based on faultyFuncAddr points to newCheckFuncAddr.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.