mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
Kernel: Add a size argument to validate_read_from_kernel
This commit is contained in:
parent
a3590ca602
commit
3aaeff483b
Notes:
sideshowbarker
2024-07-19 10:44:36 +09:00
Author: https://github.com/deoxxa
Commit: 3aaeff483b
Pull-request: https://github.com/SerenityOS/serenity/pull/904
Reviewed-by: https://github.com/awesomekling
4 changed files with 7 additions and 7 deletions
|
@ -255,7 +255,7 @@ public:
|
|||
u32 m_ticks_in_user_for_dead_children { 0 };
|
||||
u32 m_ticks_in_kernel_for_dead_children { 0 };
|
||||
|
||||
bool validate_read_from_kernel(VirtualAddress) const;
|
||||
bool validate_read_from_kernel(VirtualAddress, ssize_t) const;
|
||||
|
||||
bool validate_read(const void*, ssize_t) const;
|
||||
bool validate_write(void*, ssize_t) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue