|
|
Subscribe / Log in / New account

How about this?

How about this?

Posted Dec 16, 2017 13:01 UTC (Sat) by epa (subscriber, #39769)
In reply to: How about this? by cpitrat
Parent article: MAP_FIXED_SAFE

The idea was that if you see MAP_FIXED then you know that this particular bit of code hasn't yet been audited and changed to either SAFE or UNSAFE. So checking your codebase is a simple grep. I guess as you say you can "#define MAP_FIXED_UNSAFE MAP_FIXED" and then use the new keyword.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds