Skip to content

Commit

Permalink
Fix Alpha O_CLOEXEC definition
Browse files Browse the repository at this point in the history
The default definition in asm-generic conflicts with Alpha's O_DIRECT,
so, like several other arches, it needs to be redefined.

Signed-off-by: Richard Hendersion  <rth@twiddle.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Richard Henderson authored and Linus Torvalds committed Aug 9, 2007
1 parent 8b80fc0 commit 620b5e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/asm-alpha/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#define O_LARGEFILE 0400000 /* will be set by the kernel on every open */
#define O_DIRECT 02000000 /* direct disk access - should check with OSF/1 */
#define O_NOATIME 04000000
#define O_CLOEXEC 010000000 /* set close_on_exec */

#define F_GETLK 7
#define F_SETLK 8
Expand Down

0 comments on commit 620b5e6

Please sign in to comment.