mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Kernel: Make kernel memory regions be non-executable by default
From now on, you'll have to request executable memory specifically if you want some.
This commit is contained in:
parent
0b7a2e0a5a
commit
9e55bcb7da
Notes:
sideshowbarker
2024-07-19 10:40:27 +09:00
Author: https://github.com/awesomekling
Commit: 9e55bcb7da
7 changed files with 27 additions and 31 deletions
|
@ -17,7 +17,7 @@ KBuffer KBufferBuilder::build()
|
|||
}
|
||||
|
||||
KBufferBuilder::KBufferBuilder()
|
||||
: m_buffer(KBuffer::create_with_size(1048576 * 4))
|
||||
: m_buffer(KBuffer::create_with_size(4 * MB, Region::Access::Read | Region::Access::Write))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue