Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141961009
D31357.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31357.diff
View Options
diff --git a/sys/arm64/linux/linux.h b/sys/arm64/linux/linux.h
--- a/sys/arm64/linux/linux.h
+++ b/sys/arm64/linux/linux.h
@@ -117,6 +117,11 @@
l_long tv_nsec;
};
+#define LINUX_O_DIRECTORY 000040000 /* Must be a directory */
+#define LINUX_O_NOFOLLOW 000100000 /* Do not follow links */
+#define LINUX_O_DIRECT 000200000 /* Direct disk access hint */
+#define LINUX_O_LARGEFILE 000400000
+
struct l_newstat {
l_dev_t st_dev;
l_ino_t st_ino;
diff --git a/sys/compat/linux/linux_file.h b/sys/compat/linux/linux_file.h
--- a/sys/compat/linux/linux_file.h
+++ b/sys/compat/linux/linux_file.h
@@ -78,10 +78,18 @@
#define LINUX_O_NDELAY LINUX_O_NONBLOCK
#define LINUX_O_SYNC 000010000
#define LINUX_O_ASYNC 000020000
+#ifndef LINUX_O_DIRECT
#define LINUX_O_DIRECT 000040000 /* Direct disk access hint */
+#endif
+#ifndef LINUX_O_LARGEFILE
#define LINUX_O_LARGEFILE 000100000
+#endif
+#ifndef LINUX_O_DIRECTORY
#define LINUX_O_DIRECTORY 000200000 /* Must be a directory */
+#endif
+#ifndef LINUX_O_NOFOLLOW
#define LINUX_O_NOFOLLOW 000400000 /* Do not follow links */
+#endif
#define LINUX_O_NOATIME 001000000
#define LINUX_O_CLOEXEC 002000000
#define LINUX_O_PATH 010000000
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 5:13 AM (8 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27644469
Default Alt Text
D31357.diff (1 KB)
Attached To
Mode
D31357: linux(4): Plug in aarch64 fcntl flags.
Attached
Detach File
Event Timeline
Log In to Comment