Re: 64-bit shm: abi problems

David S. Miller (davem@redhat.com)
Mon, 13 Dec 1999 10:07:42 -0800


From: kanoj@google.engr.sgi.com (Kanoj Sarcar)
Date: Mon, 13 Dec 1999 10:02:15 -0800 (PST)

Coming to the shmctl(IPC_SET) problem, doesn't gcc pad out the
structure elements on 64 bit compiles to long (8 byte) sized? For
shmid_ds, the first field "shm_perm" fits in 2 longs, the old
"shm_segsz" would have taken up a long too, so all elemtns from
"shm_atime" would have had their offsets preserved. What am I
assuming wrong here?

Endianness.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/