This is the mail archive of the libc-alpha@sources.redhat.com 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]

Re: Problem with stack size in pthreads


Kaz Kylheku <kaz@ashi.footprints.net> writes:

> How about making checks for a stack pointer that is getting too
> close to __pthread_initial_thread_bos and then adjusting the value.
> This should be okay unless the pointer leaps by a huge amount, going from
> not-too-close to too-far in one step, or in multiple activations without
> any intermittent calls to thread_self.

Nothing which only works in some situations is even worth thinking
about.  It just gives a wrong sense of security.


-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


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