remove gratuitously-different arch-specific bits/ipc.h files
authorRich Felker <dalias@aerifal.cx>
Tue, 30 Jul 2019 18:16:12 +0000 (14:16 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 30 Jul 2019 18:23:56 +0000 (14:23 -0400)
these differ from generic only in using endian-matched padding with a
short __ipc_perm_seq field in place of the int field in generic. this
is not a documented public interface anyway, and the original intent
was to use int here. some ports just inadvertently slipped in the
kernel short+padding form.

arch/aarch64/bits/ipc.h [deleted file]
arch/riscv64/bits/ipc.h [deleted file]
arch/s390x/bits/ipc.h [deleted file]

diff --git a/arch/aarch64/bits/ipc.h b/arch/aarch64/bits/ipc.h
deleted file mode 100644 (file)
index ef39a0c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-struct ipc_perm {
-       key_t __ipc_perm_key;
-       uid_t uid;
-       gid_t gid;
-       uid_t cuid;
-       gid_t cgid;
-       mode_t mode;
-       unsigned short __ipc_perm_seq;
-
-       unsigned long __pad1;
-       unsigned long __pad2;
-};
diff --git a/arch/riscv64/bits/ipc.h b/arch/riscv64/bits/ipc.h
deleted file mode 100644 (file)
index ef39a0c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-struct ipc_perm {
-       key_t __ipc_perm_key;
-       uid_t uid;
-       gid_t gid;
-       uid_t cuid;
-       gid_t cgid;
-       mode_t mode;
-       unsigned short __ipc_perm_seq;
-
-       unsigned long __pad1;
-       unsigned long __pad2;
-};
diff --git a/arch/s390x/bits/ipc.h b/arch/s390x/bits/ipc.h
deleted file mode 100644 (file)
index b71be9e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-struct ipc_perm {
-       key_t __ipc_perm_key;
-       uid_t uid;
-       gid_t gid;
-       uid_t cuid;
-       gid_t cgid;
-       mode_t mode;
-       unsigned short __pad1;
-       unsigned short __ipc_perm_seq;
-       unsigned long __pad2;
-       unsigned long __pad3;
-};