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:

> 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


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