Question about integrating custom network functions into glibc

Florian Weimer fweimer@redhat.com
Tue Dec 17 12:14:57 GMT 2024


* Lynn Uni:

> 1. Which directory would be appropriate to place my network library?
> (I'm mainly working on x86-based Linux systems and not considering
> portability right now)

If you want to replace the system calls, adding a separate library will
not work.  You will have to patch the C implementations (those files
making direct calls using INLINE_SYSCALL* or INTERNAL_SYSCALL*) to call
your code instead, and perhaps add new C implementations if the
implementation is currently provided via the
sysdeps/unix/sysv/linux/syscalls.list file.

Thanks,
Florian



More information about the Libc-alpha mailing list