PATCH: Add x32 dummy sysctl

Joseph S. Myers joseph@codesourcery.com
Thu May 17 22:16:00 GMT 2012


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



More information about the Libc-alpha mailing list