Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: panic in Linux emulation [was Re: 6.99.32: panic when starting X]
On Sun, Feb 23, 2014 at 02:03:49PM +0100, Maxime Villard wrote:
> My mistake; committed great shit, sorry. However, the fix from njoly in
> linux32/common/linux32_exec_elf32.c should be
>
> KASSERT(len <= LINUX32_ELF_AUX_ENTRIES * sizeof(Aux32Info));
>
> instead of
>
> KASSERT(len <= LINUX32_ELF_AUX_ENTRIES * sizeof(AuxInfo));
You're right, i blindly took it from the previous line which was
incorrect. Fixed.
- len = (a - ai) * sizeof(AuxInfo);
- KASSERT(len <= LINUX32_ELF_AUX_ENTRIES * sizeof(AuxInfo));
+ len = (a - ai) * sizeof(Aux32Info);
+ KASSERT(len <= LINUX32_ELF_AUX_ENTRIES * sizeof(Aux32Info));
Thanks for proofreading.
--
Nicolas Joly
Biology IT Center
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index