Re: [PATCH] Handle non-readable binfmt_misc executables

From: Arjan van de Ven
Date: Sat Jun 19 2004 - 09:40:40 EST



> +_error_close_file:
> + if (fd_binary > 0) {
> + sys_close (fd_binary);
> + fd_binary = -1;
> + bprm->file = NULL;
> +


ewww sys_close.... there HAS to be a better way to do that...

Attachment: signature.asc
Description: This is a digitally signed message part