mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09:00
ptrace: Add PT_POKE
PT_POKE writes a single word to the tracee's address space. Some caveats: - If the user requests to write to an address in a read-only region, we temporarily change the page's protections to allow it. - If the user requests to write to a region that's backed by a SharedInodeVMObject, we replace the vmobject with a PrivateIndoeVMObject.
This commit is contained in:
parent
924fda19b0
commit
b306ac9b2b
Notes:
sideshowbarker
2024-07-19 07:39:16 +09:00
Author: https://github.com/itamar8910
Commit: b306ac9b2b
Pull-request: https://github.com/SerenityOS/serenity/pull/1745
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/awesomekling
5 changed files with 52 additions and 3 deletions
|
@ -555,3 +555,4 @@ struct rtentry {
|
|||
#define PT_GETREGS 5
|
||||
#define PT_DETACH 6
|
||||
#define PT_PEEK 7
|
||||
#define PT_POKE 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue