From eada4268ef3fcd5af7e0a522e6a629b3affa21b8 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 12 Feb 2012 16:41:29 -0800 Subject: X86: open flags: Another patch from Vince Weaver --- src/arch/x86/linux/linux.hh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/arch/x86/linux/linux.hh b/src/arch/x86/linux/linux.hh index 4e5d43d45..716aa8f81 100644 --- a/src/arch/x86/linux/linux.hh +++ b/src/arch/x86/linux/linux.hh @@ -150,11 +150,13 @@ class X86Linux32 : public Linux static const int TGT_O_EXCL = 00000200; //!< O_EXCL static const int TGT_O_NOCTTY = 00000400; //!< O_NOCTTY static const int TGT_O_SYNC = 00010000; //!< O_SYNC -// static const int TGT_O_DRD = 0x00010000; //!< O_DRD -// static const int TGT_O_DIRECTIO = 0x00020000; //!< O_DIRECTIO -// static const int TGT_O_CACHE = 0x00002000; //!< O_CACHE -// static const int TGT_O_DSYNC = 0x00008000; //!< O_DSYNC -// static const int TGT_O_RSYNC = 0x00040000; //!< O_RSYNC + static const int TGT_O_ASYNC = 00020000; + static const int TGT_O_DIRECT = 00040000; //!< O_DIRECTIO + static const int TGT_O_LARGEFILE = 00100000; + static const int TGT_O_DIRECTORY = 00200000; + static const int TGT_O_NOFOLLOW = 00400000; + static const int TGT_O_NOATIME = 01000000; + static const int TGT_O_CLOEXEC = 02000000; static const int NUM_OPEN_FLAGS; -- cgit v1.2.3