glibc contains Linux kernel header code that the maintainers of the Linux kernel add to it. They can do so because contributors to Linux know that this happens and accept it. But third parties can't just take such code and put it under other licenses.