Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/sh5/sh5



On Monday 01 December 2003 7:40 pm, Christos Zoulas wrote:
> In article <20031128081252.E9EBD2DA1D%cvs.netbsd.org@localhost>,
>
> Steve Woodford <scw%netbsd.org@localhost> 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




Home | Main Index | Thread Index | Old Index