Source-Changes-D archive

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

Re: CVS commit: src/sys/kern



> Date: Wed, 2 Jun 2021 17:33:39 +0900
> From: Rin Okuyama <rokuyama.rk%gmail.com@localhost>
> 
> On 2021/06/02 6:11, Taylor R Campbell wrote:
> > -	KASSERT(filepos <= sizeof(struct ksyms_hdr) +
> > +	KASSERT(filepos == sizeof(struct ksyms_hdr) +
> > 	    ksyms_hdr.kh_shdr[SYMTAB].sh_size);
> ...
> 
> This KASSERT fires at least for arm and aarch64, with savecore or ``nm /dev/ksyms'':

Oops.  I reverted that change for now, will investigate later.


Home | Main Index | Thread Index | Old Index