projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
514c2dd
)
fix semid_ds structure on mips
author
Szabolcs Nagy
<nsz@port70.net>
Wed, 12 Mar 2014 10:46:17 +0000
(11:46 +0100)
committer
Szabolcs Nagy
<nsz@port70.net>
Wed, 12 Mar 2014 10:46:17 +0000
(11:46 +0100)
This used to be broken when all archs had the same semid_ds definition:
there is no padding around the time_t members on mips.
arch/mips/bits/sem.h
patch
|
blob
|
history
diff --git
a/arch/mips/bits/sem.h
b/arch/mips/bits/sem.h
index c629b81ebb2a097b823aae6caac56cf34f2b2dc8..e46ced95d2be4c4ef568b4717d1012d1cfdb2d30 100644
(file)
--- a/
arch/mips/bits/sem.h
+++ b/
arch/mips/bits/sem.h
@@
-1,9
+1,7
@@
struct semid_ds {
struct ipc_perm sem_perm;
time_t sem_otime;
- time_t __unused1;
time_t sem_ctime;
- time_t __unused2;
#if __BYTE_ORDER == __LITTLE_ENDIAN
unsigned short sem_nsems;
char __sem_nsems_pad[sizeof(time_t)-sizeof(short)];