HomeFreeBSD

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

Description

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

We still need to set the hooks to prevent improper manipulations thereafter
at the loader prompt, but as it is we're actively preventing loaddev from
being set correctly in some circumstances (ZFS in particular) and doing more
work than needed with currdev -- that hook in particular validates it as a
correct device, which we can assume isn't needed in this context.

Details

Provenance
kevansAuthored on
Parents
rS358207: MFC r357840: sys/kern sysent: re-add dependency on capabilities.conf
Branches
Unknown
Tags
Unknown