[Bug 256390] [PATCH] boot loader: Fix __elfN(loadimage) return value

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Jun 2021 20:00:47 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256390

            Bug ID: 256390
           Summary: [PATCH] boot loader: Fix __elfN(loadimage) return
                    value
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs_at_FreeBSD.org
          Reporter: dasebek_at_gmail.com

Created attachment 225510
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225510&action=edit
[PATCH] boot loader: Fix __elfN(loadimage) return value

Caller functions expect __elfN(loadimage) to return
a value of zero on failure and the file size on success.
Returning ENOENT on failure does not seem correct to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jun 02 2021 - 20:00:47 UTC

Original text of this message