about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/bits/fcntl.h3
-rw-r--r--arch/i386/bits/fcntl.h3
-rw-r--r--arch/microblaze/bits/fcntl.h3
-rw-r--r--arch/mips/bits/fcntl.h21
-rw-r--r--arch/powerpc/bits/socket.h7
-rw-r--r--arch/x86_64/bits/fcntl.h3
6 files changed, 16 insertions, 24 deletions
diff --git a/arch/arm/bits/fcntl.h b/arch/arm/bits/fcntl.h
index c0afa615..9595f9ca 100644
--- a/arch/arm/bits/fcntl.h
+++ b/arch/arm/bits/fcntl.h
@@ -10,15 +10,12 @@
 #define O_DIRECTORY  040000
 #define O_NOFOLLOW  0100000
 #define O_CLOEXEC  02000000
-#define O_SEARCH  010000000
-#define O_EXEC    010000000
 
 #define O_ASYNC      020000
 #define O_DIRECT    0200000
 #define O_LARGEFILE 0400000
 #define O_NOATIME  01000000
 #define O_NDELAY O_NONBLOCK
-#define O_PATH    010000000
 
 #define F_DUPFD  0
 #define F_GETFD  1
diff --git a/arch/i386/bits/fcntl.h b/arch/i386/bits/fcntl.h
index 04b7484c..69f3a8f5 100644
--- a/arch/i386/bits/fcntl.h
+++ b/arch/i386/bits/fcntl.h
@@ -10,15 +10,12 @@
 #define O_DIRECTORY 0200000
 #define O_NOFOLLOW  0400000
 #define O_CLOEXEC  02000000
-#define O_SEARCH  010000000
-#define O_EXEC    010000000
 
 #define O_ASYNC      020000
 #define O_DIRECT     040000
 #define O_LARGEFILE 0100000
 #define O_NOATIME  01000000
 #define O_NDELAY O_NONBLOCK
-#define O_PATH    010000000
 
 #define F_DUPFD  0
 #define F_GETFD  1
diff --git a/arch/microblaze/bits/fcntl.h b/arch/microblaze/bits/fcntl.h
index 04b7484c..69f3a8f5 100644
--- a/arch/microblaze/bits/fcntl.h
+++ b/arch/microblaze/bits/fcntl.h
@@ -10,15 +10,12 @@
 #define O_DIRECTORY 0200000
 #define O_NOFOLLOW  0400000
 #define O_CLOEXEC  02000000
-#define O_SEARCH  010000000
-#define O_EXEC    010000000
 
 #define O_ASYNC      020000
 #define O_DIRECT     040000
 #define O_LARGEFILE 0100000
 #define O_NOATIME  01000000
 #define O_NDELAY O_NONBLOCK
-#define O_PATH    010000000
 
 #define F_DUPFD  0
 #define F_GETFD  1
diff --git a/arch/mips/bits/fcntl.h b/arch/mips/bits/fcntl.h
index 116852e2..c681d237 100644
--- a/arch/mips/bits/fcntl.h
+++ b/arch/mips/bits/fcntl.h
@@ -1,23 +1,20 @@
+#define O_CREAT        0400
+#define O_EXCL        02000
+#define O_NOCTTY      04000
+#define O_TRUNC       01000
 #define O_APPEND       0010
+#define O_NONBLOCK     0200
 #define O_DSYNC        0020
 #define O_SYNC       040020
 #define O_RSYNC      040020
-#define O_NONBLOCK     0200
-#define O_CREAT        0400
-#define O_TRUNC       01000
-#define O_EXCL        02000
-#define O_NOCTTY      04000
-#define O_ASYNC      010000
-#define O_LARGEFILE  020000
-#define O_DIRECT    0100000
 #define O_DIRECTORY 0200000
 #define O_NOFOLLOW  0400000
-#define O_NOATIME  01000000
 #define O_CLOEXEC  02000000
-#define O_PATH    010000000
-#define O_SEARCH  010000000
-#define O_EXEC    010000000
 
+#define O_ASYNC      010000
+#define O_DIRECT    0100000
+#define O_LARGEFILE  020000
+#define O_NOATIME  01000000
 #define O_NDELAY O_NONBLOCK
 
 #define F_DUPFD  0
diff --git a/arch/powerpc/bits/socket.h b/arch/powerpc/bits/socket.h
index 3d97193a..26d1010f 100644
--- a/arch/powerpc/bits/socket.h
+++ b/arch/powerpc/bits/socket.h
@@ -9,6 +9,13 @@ struct msghdr
 	unsigned msg_flags;
 };
 
+struct cmsghdr
+{
+	socklen_t cmsg_len;
+	int cmsg_level;
+	int cmsg_type;
+};
+
 #define SO_DEBUG        1
 #define SO_REUSEADDR    2
 #define SO_TYPE         3
diff --git a/arch/x86_64/bits/fcntl.h b/arch/x86_64/bits/fcntl.h
index e8db7ae6..9e07229e 100644
--- a/arch/x86_64/bits/fcntl.h
+++ b/arch/x86_64/bits/fcntl.h
@@ -10,15 +10,12 @@
 #define O_DIRECTORY 0200000
 #define O_NOFOLLOW  0400000
 #define O_CLOEXEC  02000000
-#define O_SEARCH  010000000
-#define O_EXEC    010000000
 
 #define O_ASYNC      020000
 #define O_DIRECT     040000
 #define O_LARGEFILE       0
 #define O_NOATIME  01000000
 #define O_NDELAY O_NONBLOCK
-#define O_PATH    010000000
 
 #define F_DUPFD  0
 #define F_GETFD  1