Re: [PATCH] Handle non-readable binfmt_misc executables

From: Arjan van de Ven
Date: Sun Jun 20 2004 - 05:53:18 EST


On Sun, Jun 20, 2004 at 01:41:30PM +0300, Zach, Yoav wrote:
> I'm not sure I understand the problem. Load_elf_binary also
> uses sys_close for recovery in case of error. Can you please
> give me more details on the problems you see with using sys_close ?

for one, sys_close, while currently exported, shouldn't be really.
(it is exported right now for a few drivers that have invalid firmware
loaders that haven't been converted to the firmware loading framework).
In addition it's way overkill, you created the fd so half the safety
precautions shouldn/t be needed

Attachment: pgp00000.pgp
Description: PGP signature