User: Password:
Subscribe / Log in / New account



Posted Nov 21, 2007 16:52 UTC (Wed) by michaeljt (subscriber, #39183)
In reply to: sys_indirect() by nix
Parent article: sys_indirect()

Right - as far as I know, the main reason that the syscall interface may never be changed is
old statically linked binaries, or at least binaries and libraries which do syscalls
themselves and not through libc.  That problem could be solved by hacking (as far as I
know, even statically linked binaries are loaded by, and if not something similar could
be found) but not by hacking libc.

(Log in to post comments)


Posted Nov 22, 2007 10:26 UTC (Thu) by nix (subscriber, #2304) [Link]

Statically linked binaries don't have a PT_INTERP header at all, so never gets involved. and libc are tightly tied: if one is used, the other always will be as well. (It is I
think possible to dynamically link and statically link libc.a, but this is rare and
strange and you don't do it just by specifying -static at link time. It may well have

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