Add a few missing open(2) flags (LINUX_O_*). Fix alpha wrong values.

This commit is contained in:
njoly 2014-06-25 16:30:42 +00:00
parent 1dd8a23cb1
commit bf8fee7bf6
7 changed files with 36 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_fcntl.h,v 1.4 2010/11/02 18:01:25 chs Exp $ */
/* $NetBSD: linux_fcntl.h,v 1.5 2014/06/25 16:30:42 njoly Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -45,10 +45,14 @@
#define LINUX_O_TRUNC 0x000400
#define LINUX_O_EXCL 0x000800
#define LINUX_O_NDELAY LINUX_O_NONBLOCK
#define LINUX_O_NOCTTY 0x001000
#define LINUX_FASYNC 0x002000
#define LINUX_O_SYNC 0x004000
#define LINUX_O_NOCTTY 0x008000
#define LINUX_O_DIRECTORY 0x040000
#define LINUX_O_DIRECTORY 0x008000
#define LINUX_O_NOFOLLOW 0x010000
#define LINUX_O_LARGEFILE 0x020000
#define LINUX_O_DIRECT 0x080000
#define LINUX_O_NOATIME 0x100000
#define LINUX_O_CLOEXEC 0x200000
/* fcntl(2) operations */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_fcntl.h,v 1.4 2010/11/02 18:01:25 chs Exp $ */
/* $NetBSD: linux_fcntl.h,v 1.5 2014/06/25 16:30:42 njoly Exp $ */
/*-
* Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@ -50,7 +50,11 @@
#define LINUX_O_NDELAY LINUX_O_NONBLOCK
#define LINUX_O_SYNC 0x01000
#define LINUX_FASYNC 0x02000
#define LINUX_O_DIRECT 0x04000
#define LINUX_O_LARGEFILE 0x08000
#define LINUX_O_DIRECTORY 0x10000
#define LINUX_O_NOFOLLOW 0x20000
#define LINUX_O_NOATIME 0x40000
#define LINUX_O_CLOEXEC 0x80000
/* fcntl(2) operations */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_fcntl.h,v 1.4 2010/11/02 18:01:25 chs Exp $ */
/* $NetBSD: linux_fcntl.h,v 1.5 2014/06/25 16:30:42 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@ -49,6 +49,10 @@
#define LINUX_O_SYNC 0x01000
#define LINUX_FASYNC 0x02000
#define LINUX_O_DIRECTORY 0x04000
#define LINUX_O_NOFOLLOW 0x08000
#define LINUX_O_DIRECT 0x10000
#define LINUX_O_LARGEFILE 0x20000
#define LINUX_O_NOATIME 0x40000
#define LINUX_O_CLOEXEC 0x80000
/* fcntl(2) operations */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_fcntl.h,v 1.7 2010/11/02 18:01:26 chs Exp $ */
/* $NetBSD: linux_fcntl.h,v 1.8 2014/06/25 16:30:42 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@ -48,7 +48,11 @@
#define LINUX_O_NDELAY LINUX_O_NONBLOCK
#define LINUX_O_SYNC 0x01000
#define LINUX_FASYNC 0x02000
#define LINUX_O_DIRECT 0x04000
#define LINUX_O_LARGEFILE 0x08000
#define LINUX_O_DIRECTORY 0x10000
#define LINUX_O_NOFOLLOW 0x20000
#define LINUX_O_NOATIME 0x40000
#define LINUX_O_CLOEXEC 0x80000
/* fcntl(2) operations */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_fcntl.h,v 1.4 2010/11/02 18:01:26 chs Exp $ */
/* $NetBSD: linux_fcntl.h,v 1.5 2014/06/25 16:30:42 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@ -50,6 +50,9 @@
#define LINUX_FASYNC 0x02000
#define LINUX_O_DIRECTORY 0x04000
#define LINUX_O_NOFOLLOW 0x08000
#define LINUX_O_DIRECT 0x10000
#define LINUX_O_LARGEFILE 0x20000
#define LINUX_O_NOATIME 0x40000
#define LINUX_O_CLOEXEC 0x80000
/* fcntl(2) operations */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_fcntl.h,v 1.7 2010/11/02 18:01:26 chs Exp $ */
/* $NetBSD: linux_fcntl.h,v 1.8 2014/06/25 16:30:42 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998, 2001 The NetBSD Foundation, Inc.
@ -50,7 +50,11 @@
#define LINUX_O_EXCL 0x00400
#define LINUX_O_NOCTTY 0x00800
#define LINUX_FASYNC 0x01000
#define LINUX_O_LARGEFILE 0x02000
#define LINUX_O_DIRECT 0x08000
#define LINUX_O_DIRECTORY 0x10000
#define LINUX_O_NOFOLLOW 0x20000
#define LINUX_O_NOATIME 0x40000
#define LINUX_O_CLOEXEC 0x80000
/* fcntl(2) operations */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_fcntl.h,v 1.9 2010/11/02 18:01:26 chs Exp $ */
/* $NetBSD: linux_fcntl.h,v 1.10 2014/06/25 16:30:42 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998, 2001 The NetBSD Foundation, Inc.
@ -51,6 +51,10 @@
#define LINUX_O_SYNC 0x01000
#define LINUX_FASYNC 0x02000
#define LINUX_O_DIRECTORY 0x04000
#define LINUX_O_NOFOLLOW 0x08000
#define LINUX_O_LARGEFILE 0x10000
#define LINUX_O_DIRECT 0x20000
#define LINUX_O_NOATIME 0x40000
#define LINUX_O_CLOEXEC 0x80000
/* fcntl(2) operations */