Mike Smith writes:
> > Jim Bloom <bl...@acm.org> wrote:
> > >
> > >A signal handler is not guaranteed to work.  It must be written such that 
> > >it
> > >does not require a new page of memory.  Some possible problems here are the
> > >stack growing, writing on a new page in the data segment, etc.
> > 
> > man sigaltstack
> That doesn't help; there is no guarantee that your stack or your 
> alternate stack have been mapped.

I assumed that the alternate stack had been forcibly allocated by
touching the pages; I suppose things go pear-shaped if they have been
swapped out and there's no space to swap out other pages so that the
stack can be swapped in. Bummer.

f.a.n.finch  d...@dotat.at  f...@demon.net

To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to