PATCH: Add x32 dummy sysctl

Joseph S. Myers joseph@codesourcery.com
Thu May 17 23:09:00 GMT 2012


On Thu, 17 May 2012, Roland McGrath wrote:

> Since according to the kernel folks this call is thoroughly undesired on
> every machine now, we should also add __attribute__ ((deprecated)) to the
> declaration.  We need a sys/cdefs.h macro for that.  Hmm, we already have
> __warndecl so we might as well just use that unless we really think that
> someone cares about using -Wno-deprecated-declarations.

I admit to being a bit confused about the exact story of sysctl 
deprecation - I was told in bug 3063 that the syscall had been removed, 
then that the removal was reverted so that it was no longer necessary to 
stop ARM glibc from using it internally.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list