aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/fcntl.h3
-rw-r--r--include/asm-parisc/fcntl.h29
2 files changed, 18 insertions, 14 deletions
diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h
index c154b9d6e7e5..b8477414c5c8 100644
--- a/include/asm-generic/fcntl.h
+++ b/include/asm-generic/fcntl.h
@@ -48,6 +48,9 @@
48#ifndef O_NOATIME 48#ifndef O_NOATIME
49#define O_NOATIME 01000000 49#define O_NOATIME 01000000
50#endif 50#endif
51#ifndef O_CLOEXEC
52#define O_CLOEXEC 02000000 /* set close_on_exec */
53#endif
51#ifndef O_NDELAY 54#ifndef O_NDELAY
52#define O_NDELAY O_NONBLOCK 55#define O_NDELAY O_NONBLOCK
53#endif 56#endif
diff --git a/include/asm-parisc/fcntl.h b/include/asm-parisc/fcntl.h
index 317851fa78f3..1e1c824764ee 100644
--- a/include/asm-parisc/fcntl.h
+++ b/include/asm-parisc/fcntl.h
@@ -3,21 +3,22 @@
3 3
4/* open/fcntl - O_SYNC is only implemented on blocks devices and on files 4/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
5 located on an ext2 file system */ 5 located on an ext2 file system */
6#define O_APPEND 00000010 6#define O_APPEND 000000010
7#define O_BLKSEEK 00000100 /* HPUX only */ 7#define O_BLKSEEK 000000100 /* HPUX only */
8#define O_CREAT 00000400 /* not fcntl */ 8#define O_CREAT 000000400 /* not fcntl */
9#define O_EXCL 00002000 /* not fcntl */ 9#define O_EXCL 000002000 /* not fcntl */
10#define O_LARGEFILE 00004000 10#define O_LARGEFILE 000004000
11#define O_SYNC 00100000 11#define O_SYNC 000100000
12#define O_NONBLOCK 00200004 /* HPUX has separate NDELAY & NONBLOCK */ 12#define O_NONBLOCK 000200004 /* HPUX has separate NDELAY & NONBLOCK */
13#define O_NOCTTY 00400000 /* not fcntl */ 13#define O_NOCTTY 000400000 /* not fcntl */
14#define O_DSYNC 01000000 /* HPUX only */ 14#define O_DSYNC 001000000 /* HPUX only */
15#define O_RSYNC 02000000 /* HPUX only */ 15#define O_RSYNC 002000000 /* HPUX only */
16#define O_NOATIME 04000000 16#define O_NOATIME 004000000
17#define O_CLOEXEC 010000000 /* set close_on_exec */
17 18
18#define O_DIRECTORY 00010000 /* must be a directory */ 19#define O_DIRECTORY 000010000 /* must be a directory */
19#define O_NOFOLLOW 00000200 /* don't follow links */ 20#define O_NOFOLLOW 000000200 /* don't follow links */
20#define O_INVISIBLE 04000000 /* invisible I/O, for DMAPI/XDSM */ 21#define O_INVISIBLE 004000000 /* invisible I/O, for DMAPI/XDSM */
21 22
22#define F_GETLK64 8 23#define F_GETLK64 8
23#define F_SETLK64 9 24#define F_SETLK64 9