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
F99007019: D23390.diff
Sat, Oct 5, 7:02 PM
F98981261: D23390.diff
Sat, Oct 5, 3:36 PM
Unknown Object (File)
Thu, Oct 3, 11:49 AM
Unknown Object (File)
Thu, Oct 3, 11:48 AM
Unknown Object (File)
Thu, Oct 3, 11:33 AM
Unknown Object (File)
Wed, Sep 25, 5:17 PM
Unknown Object (File)
Wed, Sep 18, 10:42 AM
Unknown Object (File)
Tue, Sep 17, 12:47 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