hc
2024-11-01 2f529f9b558ca1c1bd74be7437a84e4711743404
kernel/include/uapi/asm-generic/fcntl.h
....@@ -89,6 +89,15 @@
8989 #define __O_TMPFILE 020000000
9090 #endif
9191
92
+/*
93
+ * Tells the open call that out-of-band operations should be enabled
94
+ * for the file (if supported). Can also be passed along to socket(2)
95
+ * via the type argument as SOCK_OOB.
96
+ */
97
+#ifndef O_OOB
98
+#define O_OOB 010000000000
99
+#endif
100
+
92101 /* a horrid kludge trying to make sure that this will fail on old kernels */
93102 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
94103 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)