SCO XENIX/286 SYS V sh stack overflow

Rick Odeen rodeen at buddha.UUCP
Mon Dec 18 14:59:52 AEST 1989


In article <72 at slvblc.UUCP> dick at slvblc.UUCP (Dick Flanagan) writes:
>I am attempting to install the Elm mailer on SCO XENIX/286 SYS V 2.3.2
>and the README file for Elm 2.5 states:
>
>	The Configuration script has been known to exceed the default
>	stack size in Unix 286 sh's.  If Configure does not run correctly
>	on this type of machine increase the stack size and rerun it.
>
>Well, that's exactly what happens on my 286.  My question is, just how do
>I go about getting an sh with a bigger stack?!?  Is there a utility that
>can be used to patch the object file?  Can I get one from SCO?  Just how
>do I go about doing this wonderful thing?

I think the README file distributed with version 2.2 PL14 suggests
saving a copy of sh to something, running fixhdr on sh:

	  fixhdr -F 8000 /bin/sh

running Configure, then putting your original sh back in place.

fixhdr -F increases your stack size to 8000 hex.



-- 
Rick Odeen                                    buddha!rodeen at umn-cs.cs.umn.edu
Nutrition Coordinating Center                           AT&T: +1 612 627 4884
University of Minnesota



More information about the Comp.unix.xenix mailing list