Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the ongoing effort to provide C library wrappers for all Linux system calls in this conference talk from the Linux Plumbers Conference. Delve into the 11-year history of this initiative, starting from the 2014 addition of "WIP: Kernel syscalls wrappers" to the upstream glibc consensus documentation. Examine the policy's evolution and understand why comprehensive syscall wrapper coverage remains an important but challenging goal. Investigate specific complex syscalls that currently lack proper C library interfaces, with particular focus on the futex() system call as a primary example of implementation challenges. Learn about potential solutions for adding wait-wake primitives to userspace that all callers can utilize effectively. Review the recent successful addition of SCHED_DEADLINE support to glibc and analyze why sched_setattr() and sched_getattr() never received proper C library interfaces despite their importance. Understand the technical and design considerations involved in creating robust syscall wrappers that don't interfere with existing implementations. Gain insights into the collaborative effort required between kernel and userspace library developers to achieve comprehensive syscall coverage and improve the overall Linux programming interface.