16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 270c1674fSDavid Howells #ifndef _PARISC_FCNTL_H 370c1674fSDavid Howells #define _PARISC_FCNTL_H 470c1674fSDavid Howells 570c1674fSDavid Howells #define O_APPEND 000000010 670c1674fSDavid Howells #define O_CREAT 000000400 /* not fcntl */ 770c1674fSDavid Howells #define O_EXCL 000002000 /* not fcntl */ 870c1674fSDavid Howells #define O_LARGEFILE 000004000 970c1674fSDavid Howells #define __O_SYNC 000100000 1070c1674fSDavid Howells #define O_SYNC (__O_SYNC|O_DSYNC) 11*75ae0420SHelge Deller #define O_NONBLOCK 000200000 1270c1674fSDavid Howells #define O_NOCTTY 000400000 /* not fcntl */ 1341f5a81cSHelge Deller #define O_DSYNC 001000000 1470c1674fSDavid Howells #define O_NOATIME 004000000 1570c1674fSDavid Howells #define O_CLOEXEC 010000000 /* set close_on_exec */ 1670c1674fSDavid Howells 1770c1674fSDavid Howells #define O_DIRECTORY 000010000 /* must be a directory */ 1870c1674fSDavid Howells #define O_NOFOLLOW 000000200 /* don't follow links */ 1970c1674fSDavid Howells 2070c1674fSDavid Howells #define O_PATH 020000000 21bb458c64SAl Viro #define __O_TMPFILE 040000000 2270c1674fSDavid Howells 2370c1674fSDavid Howells #define F_GETLK64 8 2470c1674fSDavid Howells #define F_SETLK64 9 2570c1674fSDavid Howells #define F_SETLKW64 10 2670c1674fSDavid Howells 2770c1674fSDavid Howells #define F_GETOWN 11 /* for sockets. */ 2870c1674fSDavid Howells #define F_SETOWN 12 /* for sockets. */ 2970c1674fSDavid Howells #define F_SETSIG 13 /* for sockets. */ 3070c1674fSDavid Howells #define F_GETSIG 14 /* for sockets. */ 3170c1674fSDavid Howells 3270c1674fSDavid Howells /* for posix fcntl() and lockf() */ 3370c1674fSDavid Howells #define F_RDLCK 01 3470c1674fSDavid Howells #define F_WRLCK 02 3570c1674fSDavid Howells #define F_UNLCK 03 3670c1674fSDavid Howells 3770c1674fSDavid Howells #include <asm-generic/fcntl.h> 3870c1674fSDavid Howells 3970c1674fSDavid Howells #endif 40