]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r339931,r339933:
authorbz <bz@FreeBSD.org>
Wed, 31 Oct 2018 14:03:48 +0000 (14:03 +0000)
committerbz <bz@FreeBSD.org>
Wed, 31 Oct 2018 14:03:48 +0000 (14:03 +0000)
commit3ba6b03a2da4791cdc81f8ccbc4adf6f8ac85965
treee5a8d879612a414a0d94ec317fb23381d8ff9b4e
parent8451d01a59811b38034f0d5861fb117870be51fe
MFC r339931,r339933:

   As a follow-up to r339930 (r339951 in stable/12) and various reports
   implement logging in case we fail during module load because the pcpu
   or vnet module sections are full.
   We did return a proper error but not leaving any indication to the
   user as to what the actual problem was.

   Even worse, on 12/13 currently we are seeing an unrelated error (ENOSYS
   instead of ENOSPC, which gets skipped over in kern_linker.c) to be
   printed which made problem diagnostics even harder.

PR: 228854

Approved by: re (kib)
sys/kern/link_elf.c
sys/kern/link_elf_obj.c