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: Fix posix_spawn getrlimit64 namespace (bug 17991)


On Tue, Feb 17, 2015 at 10:25:05PM +0000, Joseph Myers wrote:
> On Tue, 17 Feb 2015, Rich Felker wrote:
> 
> > Wouldn't it make more sense to use sysconf() to get the limit?
> 
> I don't know if there's some reason for that to be abstractly preferable, 

Abstractly sysconf seems like the preferred way to get
runtime-variable limits, and it's specified to track changes to the
open files rlimit.

> but in the context of this sort of bug fix it's desirable to avoid 
> changing the disassembly of installed shared libraries, to make clear the 
> patch is safe at least for the tested configuration, if possible.

Understandable.

Rich


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