NetBSD-Bugs archive

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

Re: pkg/57076: Add efivar port to NetBSD



The following reply was made to PR kern/57076; it has been noted by GNATS.

From: Sergii Dmytruk <sergii.dmytruk%3mdeb.com@localhost>
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/57076: Add efivar port to NetBSD
Date: Wed, 24 May 2023 01:08:03 +0300

 On Mon, May 22, 2023 at 09:42:58PM +0000, Taylor R Campbell wrote:
 > > Date: Mon, 22 May 2023 21:05:16 +0300
 > > From: Sergii Dmytruk <sergii.dmytruk%3mdeb.com@localhost>
 > > 
 > > Hello Taylor!  Glad to hear that, thank you.  Do you need me to test it?
 > 
 > It certainly wouldn't hurt to test it more, if that's convenient for
 > you!
 
 The commit:
 
     efi(4): Translate between size_t and unsigned long.
     Fixes i386 build.
 
 broke efi_ioctl_var_get() by introducing:
 
     KASSERT(datasize <= databufsize);
 
 The condition is false when `status == EFI_BUFFER_TOO_SMALL` is true.
 
 ESRT doesn't have any trouble and removing KASSERT() fixes issues with
 EFI variables.
 



Home | Main Index | Thread Index | Old Index