Comment Comment by xmlparser > Thankfully the brk heap isn't intrusive enough to climb up into the pages I allocated :)That seems about right[1], but the MAP_FIXED_NOREPLACE flag has been a thing since Linux 4.17. What about using that?[1]: https://godbolt.org/z/698dPcvf6 parent xmlparser 2 years ago
That seems about right[1], but the MAP_FIXED_NOREPLACE flag has been a thing since Linux 4.17. What about using that?
[1]: https://godbolt.org/z/698dPcvf6