Date: Sat, 7 Jul 2007 12:49:16 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 123056 for review Message-ID: <200707071249.l67CnG0F004638@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123056 Change 123056 by rdivacky@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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707071249.l67CnG0F004638>