summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/file.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2020-01-18 22:03:20 +0000
committerRobert Mustacchi <rm@fingolfin.org>2020-02-01 06:34:51 +0000
commit69c811ab73b7ce531454837ae68c4343e8724e0b (patch)
tree00076116a576bde8519acea540782c3b49a63f34 /usr/src/uts/common/sys/file.h
parent2fe8bc68ec8e8e8e05997b3ac2f081bfdded45ab (diff)
downloadillumos-joyent-69c811ab73b7ce531454837ae68c4343e8724e0b.tar.gz
9965 Want support for O_DIRECTORY
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/uts/common/sys/file.h')
-rw-r--r--usr/src/uts/common/sys/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/file.h b/usr/src/uts/common/sys/file.h
index ec0741fe08..36e14f0c7a 100644
--- a/usr/src/uts/common/sys/file.h
+++ b/usr/src/uts/common/sys/file.h
@@ -118,6 +118,7 @@ typedef struct fpollinfo {
#define FEXEC 0x400000 /* O_EXEC = 0x400000 */
#define FCLOEXEC 0x800000 /* O_CLOEXEC = 0x800000 */
+#define FDIRECTORY 0x1000000 /* O_DIRECTORY = 0x1000000 */
#if defined(_KERNEL) || defined(_FAKE_KERNEL)