Re: [PATCH] [2/3] Create call_usermodehelper_pipe()

From: Andi Kleen
Date: Wed Aug 16 2006 - 03:19:46 EST


current->files=&init_files.
>
> hm, that's wrong, isn't it - we're not using CLONE_FILES...

Yes, I thought I got that right but you shocked me quickly :)

>
> So what we have is a copy of init_files. So the sys_close(0) shouldn't be needed?

Probably not. It was just paranoia I guess.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/