summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-22 08:02:42 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-22 08:02:42 -0400
commitfce46bf980a82bad9e6c083066cae4813649ebf5 (patch)
tree076e0e1317bda0fd4b29d43183b3c2465bb7d903 /arch
parent0b3e2257fa9f4c4773f8aec1bdbccbc46a4d9477 (diff)
downloadmusl-fce46bf980a82bad9e6c083066cae4813649ebf5.tar.gz
musl-fce46bf980a82bad9e6c083066cae4813649ebf5.tar.bz2
musl-fce46bf980a82bad9e6c083066cae4813649ebf5.tar.xz
musl-fce46bf980a82bad9e6c083066cae4813649ebf5.zip
fix broken semctl on systems that don't use IPC_64 flag
not tested on mips and arm; they may still be broken. x86_64 should be ok now.
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/bits/ipc.h2
-rw-r--r--arch/i386/bits/ipc.h2
-rw-r--r--arch/mips/bits/ipc.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/bits/ipc.h b/arch/arm/bits/ipc.h
index 51ad4427..b748d3b7 100644
--- a/arch/arm/bits/ipc.h
+++ b/arch/arm/bits/ipc.h
@@ -10,3 +10,5 @@ struct ipc_perm
long __pad1;
long __pad2;
};
+
+#define IPC_64 0x100
diff --git a/arch/i386/bits/ipc.h b/arch/i386/bits/ipc.h
index 51ad4427..b748d3b7 100644
--- a/arch/i386/bits/ipc.h
+++ b/arch/i386/bits/ipc.h
@@ -10,3 +10,5 @@ struct ipc_perm
long __pad1;
long __pad2;
};
+
+#define IPC_64 0x100
diff --git a/arch/mips/bits/ipc.h b/arch/mips/bits/ipc.h
index 51ad4427..b748d3b7 100644
--- a/arch/mips/bits/ipc.h
+++ b/arch/mips/bits/ipc.h
@@ -10,3 +10,5 @@ struct ipc_perm
long __pad1;
long __pad2;
};
+
+#define IPC_64 0x100