X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fpassfd.c;h=188c7d1bb716ae897c41f8d8aa17332a91aa10fa;hb=7a719c1772d45a9990560820a78ae76534ae3497;hp=86c73760b5f15ff4bda3f34dd5ffa80719af92dc;hpb=722fc0acd0be939543544f6eaa66a9750a69d4a0;p=gnulib.git diff --git a/lib/passfd.c b/lib/passfd.c index 86c73760b..188c7d1bb 100644 --- a/lib/passfd.c +++ b/lib/passfd.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2011 Free Software Foundation, Inc. +/* Copyright (C) 2011-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,12 @@ #include "cloexec.h" +/* The code that uses CMSG_FIRSTHDR is enabled on + Linux, MacOS X, FreeBSD, OpenBSD, NetBSD, AIX, OSF/1, Cygwin. + The code that uses HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS is enabled on + HP-UX, IRIX, Solaris. */ + +/* MSG_CMSG_CLOEXEC is defined only on Linux, as of 2011. */ #ifndef MSG_CMSG_CLOEXEC # define MSG_CMSG_CLOEXEC 0 #endif