musl/src/ipc
rofl0r 2b47a7aff2 semctl: fix UB causing crashes on powerpc
it's UB to fetch variadic args when none are passed, and this caused
real crashes on ppc due to its calling convention, which defines that
for variadic functions aggregate types be passed as pointers.
the assignment caused that pointer to get dereferenced, resulting in
a crash.
2014-03-13 20:52:34 +01:00
..
ftok.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ipc.h implement semtimedop 2013-11-09 00:18:57 -05:00
msgctl.c fix IPC_64 in msgctl too 2012-09-22 08:04:17 -04:00
msgget.c consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix 2011-04-06 20:32:53 -04:00
msgrcv.c overhaul pthread cancellation 2011-04-17 11:43:03 -04:00
msgsnd.c overhaul pthread cancellation 2011-04-17 11:43:03 -04:00
semctl.c semctl: fix UB causing crashes on powerpc 2014-03-13 20:52:34 +01:00
semget.c work around wrong kernel type for sem_nsems member of struct semid_ds 2013-06-28 23:57:58 -04:00
semop.c consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix 2011-04-06 20:32:53 -04:00
semtimedop.c fix harmless inconsistency in semtimedop 2013-11-09 17:54:20 -05:00
shmat.c consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix 2011-04-06 20:32:53 -04:00
shmctl.c fix remaining IPC_64 issue (shmctl) 2012-09-22 16:08:58 -04:00
shmdt.c fix shmdt syscall calling convention on old archs 2012-10-28 15:04:26 -04:00
shmget.c prevent shmget from allocating objects that overflow ptrdiff_t 2013-06-29 00:02:38 -04:00