patch-2.1.126 linux/include/asm-ppc/fcntl.h

Next file: linux/include/asm-sparc/fcntl.h
Previous file: linux/include/asm-mips/watch.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.125/linux/include/asm-ppc/fcntl.h linux/include/asm-ppc/fcntl.h
@@ -16,6 +16,8 @@
 #define O_NDELAY	O_NONBLOCK
 #define O_SYNC		010000
 #define FASYNC		020000	/* fcntl, for BSD compatibility */
+#define O_DIRECTORY	040000	/* must be a directory */
+#define O_NOFOLLOW	0100000	/* don't follow links */
 
 #define F_DUPFD		0	/* dup */
 #define F_GETFD		1	/* get f_flags */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov