This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add x32 dummy sysctl


> In ports, the linux-generic port does have a definition of sysctl() that
> returns -1 with ENOSYS, and includes a stub_warning().  For now this avoids
> potential issues from older code that might try to call this API as a
> fallback if /proc/sys isn't available (for example).

Yet it bloats the ABI and the library, which will persist far longer than
the current state of any particular application source code.  It's far
better to require trivial fixes to crufty old code than to commit to
carrying cruft in the libc ABI forever.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]