更新时间:2022-12-26 20:46:42
内核空间中实际上没有libc. Libc是用户空间库,您不能在内核空间中使用它.
There is actually no libc in kernel space. Libc is user-space library, and you can't use it from kernel-space.
但是移植了libc中几乎所有在内核空间中有意义的函数.通常,您可以在include/linux/中找到标头.
But almost all functions from libc that make sense in kernel space are ported. You can find headers in include/linux/ usually.
据我所知,这两个实现不共享代码库.
As far as I know these two implementations don't share codebase.