Re:OpenBSD System-Call Pinning
by Someone on Saturday February 03, 2024 @08:05AM
(#39239997)
> I'd like the OpenBSD approach a lot more if the specially privileged syscall library was a language-agnostic library just for syscalls instead of libc.
I think they should split that part of, too. Such a split would better reflect the split of responsibilities between kernel maintainers and libc maintainers.
At the same the effective difference for people using the code is minute.
Any decent linker will strip out unused functions in libraries you link with, so if you currently only use the part of libc that would become “libsyscall”, the end effect would be the same as when “libsyscall” existed.
I think they should split that part of, too. Such a split would better reflect the split of responsibilities between kernel maintainers and libc maintainers.
At the same the effective difference for people using the code is minute.
Any decent linker will strip out unused functions in libraries you link with, so if you currently only use the part of libc that would become “libsyscall”, the end effect would be the same as when “libsyscall” existed.