summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/file.h
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2020-09-25 11:43:20 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2020-09-25 11:43:20 +0000
commit483cfaba9947c7223e1971a45f9b473b324689d9 (patch)
treedabc1982ac9aa7140fb8b5d96840815f443d68ae /usr/src/uts/common/sys/file.h
parent03ba8404acefe94916ad776068d4e3f2f585a224 (diff)
parentedd580643f2cf1434e252cd7779e83182ea84945 (diff)
downloadillumos-joyent-483cfaba9947c7223e1971a45f9b473b324689d9.tar.gz
[illumos-gate merge]release-20200924
commit edd580643f2cf1434e252cd7779e83182ea84945 12363 add O_DIRECT support
Diffstat (limited to 'usr/src/uts/common/sys/file.h')
-rw-r--r--usr/src/uts/common/sys/file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/file.h b/usr/src/uts/common/sys/file.h
index f544033d2f..c7d67a5d47 100644
--- a/usr/src/uts/common/sys/file.h
+++ b/usr/src/uts/common/sys/file.h
@@ -27,7 +27,7 @@
/* All Rights Reserved */
/* Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved. */
-/* Copyright 2017 Joyent, Inc. */
+/* Copyright 2020 Joyent, Inc. */
#ifndef _SYS_FILE_H
#define _SYS_FILE_H
@@ -119,6 +119,7 @@ typedef struct fpollinfo {
#define FCLOEXEC 0x800000 /* O_CLOEXEC = 0x800000 */
#define FDIRECTORY 0x1000000 /* O_DIRECTORY = 0x1000000 */
+#define FDIRECT 0x2000000 /* O_DIRECT = 0x2000000 */
#if defined(_KERNEL) || defined(_FAKE_KERNEL)