mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
* 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-25 David S. Miller <davem@davemloft.net> * 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.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2008-04-25 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
|
* 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@redhat.com>
|
2008-04-22 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* nscd/Makefile (nscd-cflags): Set back to -fpie.
|
* nscd/Makefile (nscd-cflags): Set back to -fpie.
|
||||||
|
@ -54,5 +54,5 @@ semctl (int semid, int semnum, int cmd, ...)
|
|||||||
va_end (ap);
|
va_end (ap);
|
||||||
|
|
||||||
return INLINE_SYSCALL (ipc, 5, IPCOP_semctl, semid, semnum, cmd,
|
return INLINE_SYSCALL (ipc, 5, IPCOP_semctl, semid, semnum, cmd,
|
||||||
CHECK_SEMCTL (&arg, semid, cmd));
|
CHECK_SEMCTL (&arg, semid, cmd)->array);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user