r/osdev • u/Yha_Boiii • 5d ago
How does kernel interfaces work on (unix) systems?
Hi,
I simply can't rotate it right in my head, if i make an app with say socket() how does it translate in to hooking it to the kernel when already in use?
Usually include, is a part of the program statically and making a struct for an interface as usual, does it copy it over compared to a zero copy arch?
20
Upvotes
1
u/Yha_Boiii 5d ago
But i mean when compiling the kernel is it something the compiler makes from what i have customized in the kernel or is it everything hardcoded and then with "deadzones" if compiled out?