Re: [PATCH v4 02/12] ELF: Add ELF program property parsing support

From: Mark Brown
Date: Tue Jan 14 2020 - 12:29:05 EST


On Tue, Jan 14, 2020 at 04:34:03PM +0000, Catalin Marinas wrote:

> The logic looks fine to me but I'm not sure the choice of returning -EIO
> is suitable in most cases. I think apart from kernel_read() returning an
> error, there rest look like malformed ELF notes, so rather -ENOEXEC.

Sure, I don't have strong opinions either way.

Attachment: signature.asc
Description: PGP signature