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 47/58] Hide internal __setrlimit function [BZ #18822]


On 9/1/17, H.J. Lu <hjl.tools@gmail.com> wrote:
> Hide internal __setrlimit function to allow direct access within libc.so
> and libc.a without using GOT nor PLT.
>
> 	[BZ #18822]
> 	* include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
> 	* resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
> 	* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
> 	* sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
> 	* sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
>

Tested with build-many-glibcs.py.  I am checking it in.

-- 
H.J.


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