svn commit: r195790 - user/kmacy/releng_7_2_fcs/sys/sys
Kip Macy
kmacy at FreeBSD.org
Mon Jul 20 21:45:44 UTC 2009
Author: kmacy
Date: Mon Jul 20 21:45:44 2009
New Revision: 195790
URL: http://svn.freebsd.org/changeset/base/195790
Log:
Don't export AT_FDCWD to user as some ports erroneously conclude from its definition that
openat is supported
Modified:
user/kmacy/releng_7_2_fcs/sys/sys/fcntl.h
Modified: user/kmacy/releng_7_2_fcs/sys/sys/fcntl.h
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/sys/fcntl.h Mon Jul 20 19:51:47 2009 (r195789)
+++ user/kmacy/releng_7_2_fcs/sys/sys/fcntl.h Mon Jul 20 21:45:44 2009 (r195790)
@@ -110,7 +110,9 @@ typedef __pid_t pid_t;
* to determine the target of relative file paths in the openat() and
* similar syscalls.
*/
+#ifdef _KERNEL
#define AT_FDCWD -100
+#endif
/* Defined by POSIX 1003.1; BSD default, but must be distinct from O_RDONLY. */
#define O_NOCTTY 0x8000 /* don't assign controlling terminal */
More information about the svn-src-user
mailing list