Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
convolvatron
6 days ago
|
parent
|
context
|
favorite
| on:
Linear Address Spaces: Unsafe at any speed (2022)
thats enforced by the VM hardware - we just shuffle the PTEs around to match the appropriate segment view
rep_lodsb
5 days ago
[–]
As long as it's a linear address space, adding/subtracting a large enough value to a pointer (array, stack) could still cross into another "segment".
reply
convolvatron
5 days ago
|
parent
[–]
but those wouldn't be mapped unless you have crossed a call gate that enabled them. the kernel call gate implementation changes the VM map (region visibility) accordingly
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: