Problem with stack size in pthreads
Ulrich Drepper
drepper@redhat.com
Thu Jul 12 13:19:00 GMT 2001
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 `------------------------
More information about the Libc-alpha
mailing list