[Bug 298154] imgact_elf: Invalid ELF fails with a bogus Input/output error (EIO) error when no actual IO error has occurred

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Sep 2026 21:10:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298154

--- Comment #5 from Yuri Victorovich <yuri@freebsd.org> ---
(In reply to Konstantin Belousov from comment #4)

The reason of failure is not IO.
The reason is that the ELF is malformatted.

> EIO stands for Input/output error and is defined as errno 5 in the kernel. It is a low-level, generic error indicating that a physical or low-level communication failure prevented a read or write operation from completing successfully. 

There is no input, output, or communication error here. There is a file format
error.

-- 
You are receiving this mail because:
You are the assignee for the bug.