* 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:
parent
7eb5e6c9bd
commit
d4e92d9e08
@ -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>
|
||||
|
||||
* nscd/Makefile (nscd-cflags): Set back to -fpie.
|
||||
|
@ -54,5 +54,5 @@ semctl (int semid, int semnum, int cmd, ...)
|
||||
va_end (ap);
|
||||
|
||||
return INLINE_SYSCALL (ipc, 5, IPCOP_semctl, semid, semnum, cmd,
|
||||
CHECK_SEMCTL (&arg, semid, cmd));
|
||||
CHECK_SEMCTL (&arg, semid, cmd)->array);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user