|
|
Log in / Subscribe / Register

Does it *have* to be the C library?

Does it *have* to be the C library?

Posted Nov 30, 2010 22:20 UTC (Tue) by gmaxwell (guest, #30048)
In reply to: Does it *have* to be the C library? by cesarb
Parent article: The kernel and the C library as a single project

Because sometimes, even often, coolnewsyscall() is really just a function that enables a better, faster, or more flexible implementation of boringlibcfunction().


to post comments

Does it *have* to be the C library?

Posted Dec 1, 2010 14:14 UTC (Wed) by marcH (subscriber, #57642) [Link] (1 responses)

Isn't LD_PRELOAD=liblinux.so able to sneak new code into glibc and solve this problem?

Does it *have* to be the C library?

Posted Dec 2, 2010 14:42 UTC (Thu) by nix (subscriber, #2304) [Link]

No. Internal glibc->glibc calls do not go via the PLT and are not subject to interposition, thus LD_PRELOAD has no effect on them. (This is a big speed boost.)


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