Re: [PATCH 02/18] flag parameters: socket and socketpair
From: Ulrich Drepper
Date: Mon May 05 2008 - 23:11:18 EST
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Morton wrote:
> What I meant was "what does this whole patchset do"? Believe it or not,
> for a new reader, that is somewhat unobvious. Perhaps one could work it out
> with sufficient googling and thread-trolling.
It adds flag parameters in all the places where none is present to
control aspects of the returned file descriptor(s). So far atomic
close-on-exec and setting non-blocking mode are implemented. More can
follow if wanted. Similar to the O_CLOEXEC and F_DUPFD_CLOEXEC
extensions which I wrote several moons ago. Just two weeks ago I pointed at
http://bugzilla.redhat.com/show_bug.cgi?id=443321
as a case which we cannot really fix without these kind of extensions.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFIH8w22ijCOnn/RHQRAjNvAJkBJxBR3uI8HfPIUqcMezLjFK/d2QCfXS4v
IH7T6AFb/j9V4tWtlWi0Bcs=
=lLFY
-----END PGP SIGNATURE-----
--
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/