mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 17:42:20 +00:00
The security hooks returned their own errors for calls the shim can't verify, instead of passing them to the original firmware hooks. The Security2 hook rejected a missing device path or file buffer, which are optional in the PI specification, and a boot policy of TRUE. The Security hook returned NOT_FOUND for any file it couldn't read, like one in a firmware volume. Pass these calls to the original hook, which is what the firmware does without the hook installed. This matches systemd-boot, and the firmware still enforces its own verification, so nothing is let through that the firmware would reject.