Losing the magic
Losing the magic
Posted Dec 14, 2022 23:25 UTC (Wed) by mathstuf (subscriber, #69389)In reply to: Losing the magic by farnz
Parent article: Losing the magic
Can the C abstract machine really say that memory it obtains through `malloc` has some other magical property? Wouldn't that require you to get "lucky" with what `malloc` gives you in the first place to have that address space "mean something" to some other part of the system?
Maybe the kernel gets away with it by "hiding" behind non-standard allocation APIs…
