Subject: Re: CVS commit: src/sys/arch/sh5/sh5
To: Christos Zoulas <christos@zoulas.com>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 12/01/2003 23:05:24
On Monday 01 December 2003 7:40 pm, Christos Zoulas wrote:
> In article <20031128081252.E9EBD2DA1D@cvs.netbsd.org>,
>
> Steve Woodford <scw@netbsd.org> wrote:
> > 
> >While NetBSD/sh5 has never needed a sigcode trampoline, other parts
> > of the kernel seem to assume 'esigcode - sigcode' is non-zero.
>
> Where is that? That should not be the case.

exec_sigcode_map() in kern_exec.c calculates the sigcode size and passes 
it, via round_page(), to uvm_map(). The latter has KASSERT(size > 0)...

Cheers, Steve