Page MenuHomeFreeBSD

efiloader: don't execute hooks when setting currdev/loaddev
ClosedPublic

Authored by kevans on Jan 28 2020, 2:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 2, 9:47 AM
Unknown Object (File)
Thu, Oct 31, 5:06 PM
Unknown Object (File)
Thu, Oct 24, 5:26 PM
Unknown Object (File)
Mon, Oct 21, 7:31 AM
Unknown Object (File)
Oct 11 2024, 9:20 AM
Unknown Object (File)
Oct 5 2024, 7:02 PM
Unknown Object (File)
Oct 5 2024, 3:36 PM
Unknown Object (File)
Oct 3 2024, 11:49 AM
Subscribers

Details

Summary

For ZFS pools, we may have to probe around more than we want to in order to figure out where the requested pool guid lives. The first set of loaddev will succeed, then further set will be blocked by the hook we install.

For these, we really just don't need the hooks to run. The currdev hook just validates the currdev passed in (presumably expecting user-specified currdev) and loaddev makes it immutable, but we don't know that loaddev is correct until after we've found the pool.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable