Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2000 12:14:32 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Nate Williams <nate@yogotech.com>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, marcel@cup.hp.com, freebsd-emulation@FreeBSD.ORG
Subject:   Re: IBM JDK fails due to lack of SA_SIGINFO support
Message-ID:  <Pine.BSF.4.21.0009081153500.30459-100000@besplex.bde.org>
In-Reply-To: <200009072209.QAA06661@nomad.yogotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Sep 2000, Nate Williams wrote:

> > Alternative signal stacks are allocated by the application.
> 
> And the size is allocated inside the application's space?  I thought the

Yes.

> size was allocated inside the kernel, hence the need for the system
> call.

It couldn't be.  The kernel would have no idea where to allocate user
stack(s).

> > Bumping the size in the kernel corresponds to using unallocated space
> > beyond the end of the space allocated by the application.
> 
> So how would you propose fixing this?  In Linux, the minimum size is <<
> FreeBSD's minimum size.  Either we decrease FreeBSD's minimum size or we
> abort the request, causing these applications to fail.

Actually implement MINSIGSTKSZ as documented in the man page.  It should
be sizeof(struct sigframe), where struct sigframe is the relevant frame
(which depends on more than the machine; for i386's we currently have
2 native frames and 1 Linux frame and are missing the Linux SA_SIGINFO
frame).

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009081153500.30459-100000>