|
@@ -73,9 +73,18 @@
|
|
#define F_SETSIG 10 /* for sockets. */
|
|
#define F_SETSIG 10 /* for sockets. */
|
|
#define F_GETSIG 11 /* for sockets. */
|
|
#define F_GETSIG 11 /* for sockets. */
|
|
#endif
|
|
#endif
|
|
|
|
+
|
|
|
|
+#ifndef CONFIG_64BIT
|
|
|
|
+#ifndef F_GETLK64
|
|
|
|
+#define F_GETLK64 12 /* using 'struct flock64' */
|
|
|
|
+#define F_SETLK64 13
|
|
|
|
+#define F_SETLKW64 14
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
#ifndef F_SETOWN_EX
|
|
#ifndef F_SETOWN_EX
|
|
-#define F_SETOWN_EX 12
|
|
|
|
-#define F_GETOWN_EX 13
|
|
|
|
|
|
+#define F_SETOWN_EX 15
|
|
|
|
+#define F_GETOWN_EX 16
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#define F_OWNER_TID 0
|
|
#define F_OWNER_TID 0
|
|
@@ -139,12 +148,6 @@ struct flock {
|
|
|
|
|
|
#ifndef CONFIG_64BIT
|
|
#ifndef CONFIG_64BIT
|
|
|
|
|
|
-#ifndef F_GETLK64
|
|
|
|
-#define F_GETLK64 12 /* using 'struct flock64' */
|
|
|
|
-#define F_SETLK64 13
|
|
|
|
-#define F_SETLKW64 14
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
#ifndef HAVE_ARCH_STRUCT_FLOCK64
|
|
#ifndef HAVE_ARCH_STRUCT_FLOCK64
|
|
#ifndef __ARCH_FLOCK64_PAD
|
|
#ifndef __ARCH_FLOCK64_PAD
|
|
#define __ARCH_FLOCK64_PAD
|
|
#define __ARCH_FLOCK64_PAD
|