Open
Description
Libc currently only exposes a lot of Linux kernel APIs, but leaves doing so to other crates for other operating systems.
We probably should do the same that we do for MacOS and Windows, that is, have a different crate, e.g., linux
, that's just like mach
, winapi
, etc. and that it is tested against different Linux kernel versions.
Once we have that in place, we can start deprecating kernel APIs from here, and recommend users to use other crates instead.