Hi,

I noticed an interface problem between uClibc wrappers and Kernel which
causes SYSV semctl(), shmctl() and msgctl() fail with EINVAL error code.
I filed a bug against uClibc: https://bugs.busybox.net/show_bug.cgi?id=4910

Meanwhile a quick and dirty solution is:

--- a/libc/misc/sysvipc/ipc.h   2012-03-07 17:40:06.726115300 +1100
+++ b/libc/misc/sysvipc/ipc.h   2012-03-07 11:14:15.384030475 +1100
@@ -3,7 +3,8 @@
 #include <syscall.h>
 #include <bits/wordsize.h>

-#if __WORDSIZE == 32 || defined __alpha__ || defined __mips__
+//#if __WORDSIZE == 32 || defined __alpha__ || defined __mips__
+#if 0
 # define __IPC_64      0x100
 #else
 # define __IPC_64      0x0

*Sergey Koulik*
Mobile: +79024845322, Skype: s.koulik
http://ru.linkedin.com/in/sergeykoulik
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to