PERFORCE change 120976 for review

Roman Divacky rdivacky at FreeBSD.org
Tue Jun 5 10:10:37 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=120976

Change 120976 by rdivacky at rdivacky_witten on 2007/06/05 10:09:57

	*at syscalls are defined by POSIX so unBSDify the definition of AT_FDCWD.

Affected files ...

.. //depot/projects/soc2007/rdivacky/linux_at/sys/sys/fcntl.h#3 edit

Differences ...

==== //depot/projects/soc2007/rdivacky/linux_at/sys/sys/fcntl.h#3 (text+ko) ====

@@ -105,9 +105,7 @@
 #ifdef _KERNEL
 #define	FHASLOCK	0x4000		/* descriptor holds advisory lock */
 #endif
-#ifdef __BSD_VISIBLE
-#define	AT_FDCWD	-100		/* just like Linux */
-#endif
+#define	AT_FDCWD	-100		/* CWD for *at syscals */
 
 /* 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 p4-projects mailing list