PERFORCE change 123056 for review

Roman Divacky rdivacky at FreeBSD.org
Sat Jul 7 12:49:17 UTC 2007


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

Change 123056 by rdivacky at rdivacky_witten on 2007/07/07 12:49:00

	Redefine O_EXEC to not clash with O_NOCTTY.
	
	Noticed by: jhb

Affected files ...

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

Differences ...

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

@@ -103,12 +103,10 @@
 #ifdef _KERNEL
 #define	FHASLOCK	0x4000		/* descriptor holds advisory lock */
 #endif
-#define	O_EXEC		0x8000		/* open for execute only */
-#define	FEXEC		0x8000
 /* Defined by POSIX Extended API ... TODO: number of the spec */
 #define	AT_FDCWD		-100	/* Use the current working directory
-					   to determine the target of relative
-					   file paths.
+					 * to determine the target of relative
+					 * file paths.
 					 */
 #define	AT_EACCESS		0x100	/* Check access using effective user and group ID */
 #define	AT_SYMLINK_NOFOLLOW	0x200   /* Do not follow symbolic links */
@@ -126,6 +124,9 @@
 /* Defined by POSIX Extended API ... TODO: number of the spec */
 #define	O_DIRECTORY	0x00020000	/* Fail if not directory */
 
+#define	O_EXEC		0x00040000		/* open for execute only */
+#define	FEXEC		0x00040000
+
 /*
  * XXX missing O_DSYNC, O_RSYNC.
  */


More information about the p4-projects mailing list