User: Password:
|
|
Subscribe / Log in / New account

omalloc (was Re: Empty symlinks and full POSIX compliance)

omalloc (was Re: Empty symlinks and full POSIX compliance)

Posted May 29, 2013 12:37 UTC (Wed) by mirabilos (subscriber, #84359)
Parent article: Empty symlinks and full POSIX compliance

Interestingly enough, symlinks as strings are used in BSD omalloc, where /etc/malloc.conf is a *symlink* pointing to a string that’s then parsed as system-wide malloc options (an environment variable is parsed the same way).
This is apparently cheaper than doing full file I/O, which isn’t unimportant in a malloc I’d guess.


(Log in to post comments)


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