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: RFC: tunables failure indications...


On 10/12/19 9:55 pm, Carlos O'Donell wrote:
> Tunables are inherently functionality that the loader is brining online
> during process startup.
> 
> It may be sensible to add a LD_DEBUG=tunables to that list and print more
> verbose tunables processing information?

That sounds reasonable.

>> As for (4), that's super-odd even with randomization.  Is it possible
>> that somehow brk with ASLR enabled fails when the new brk end is not
>> page aligned?
> 
> No, in the case DJ and I were looking at this was a static vs. ASLR vs.
> kernel VMA layout issue where we still have kernel issues on less
> maintstream architectures. We still need to fail safe in those cases
> and I think we should just shut the process down with appropriate error
> messages.

OK, I was just wondering if this was a kernel bug.  Either ways,
shutting down with an error sounds good, preferably in the ld.so way
(i.e. write to stderr and _exit()) rather than a forced segfault.

Siddhesh


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