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


On Thu, 17 May 2012, Roland McGrath wrote:

> > X32 doesn't have _sysctl system call.  This patch adds a dummy.  OK
> > to install?
> 
> Then you shouldn't install <sys/sysctl.h> either.

It should be *installed*, in line with the goal that building glibc for 
any of the three x86 ABIs should install headers that can be used for any 
of the three ABIs.  But a #error in the header for ABIs not supporting it 
would be reasonable.  (Cf. my comment in bug 14117 about installing 
sys/vm86.h for x86_64.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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