why should kernel headers care about glibc versions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



in the header file include/linux/scoket.h, we see the test:

  #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)

i'm curious -- why is it the kernel's job to care about the version of
glibc in userspace?  i'm sure this represents the solution to some
kind of problem, but it strikes me as somewhat questionable -- kernel
headers exporting content to userspace that also does checking in
userspace.

  thoughts?

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux