[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r6076 - in /fsf/trunk/libc: ChangeLog sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c
- To: commits@xxxxxxxxxx
- Subject: [commits] r6076 - in /fsf/trunk/libc: ChangeLog sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c
- From: eglibc@xxxxxxxxxx
- Date: Wed, 30 Apr 2008 07:06:35 -0000
Author: eglibc
Date: Wed Apr 30 00:06:32 2008
New Revision: 6076
Log:
Import glibc-mainline for 2008-04-30
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Wed Apr 30 00:06:32 2008
@@ -1,3 +1,9 @@
+2008-04-25 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl):
+ Pass "union semun" properly in to sys_ipc, it must be passed
+ by value, not by reference.
+
2008-04-22 Jakub Jelinek <jakub@xxxxxxxxxx>
* nscd/Makefile (nscd-cflags): Set back to -fpie.
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c Wed Apr 30 00:06:32 2008
@@ -54,5 +54,5 @@
va_end (ap);
return INLINE_SYSCALL (ipc, 5, IPCOP_semctl, semid, semnum, cmd,
- CHECK_SEMCTL (&arg, semid, cmd));
+ CHECK_SEMCTL (&arg, semid, cmd)->array);
}