Re: [PATCHv4 4/6] Allow setting FD_CLOEXEC flag for new sockets

From: Zach Brown
Date: Tue Nov 20 2007 - 13:15:41 EST



> Since there is no legacy interface to worry about all members added to
> the structure can and should be neutral of the word size.

OK, perhaps add a giant comment warning about that. History tells us
that people will get it wrong.

> We've done
> this with some syscalls already (like pread64) where we always use the
> wide form in the parameter list. It's just more simple here since it
> does not have to split into two 32-bit registers.

*nod*

- z
-
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/