lkml.org 
[lkml]   [1999]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 64-bit shm: abi problems
Date
> 
> 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.

How does that changes offsets from the "shm_atime" field onwards?

"shm_segsz" might be flipped, yes.

Kanoj

>
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.124 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site