Messages in this thread |  | | Date | Sat, 26 Aug 2000 20:46:10 +0200 (CEST) | From | Andrea Arcangeli <> | Subject | Re: BUG/PATCH: include/asm-*/fcntl.h |
| |
On Sat, 26 Aug 2000, Albert D. Cahalan wrote:
>Your struct likely looks like this on some systems: > >2 bytes l_type >2 bytes l_whence >4 bytes COMPILER GENERATED CRAP <-- Eeew, gross. >8 bytes l_start >8 bytes l_len >4 bytes l_pid
The new flock64 structure is defined per-architecture. 64bit systems doesn't need flock64 (even the ones that supports 32bit legacy userspace) so the flock64 structure should never suffer from the above issue.
The not explicit padding you point out above is just happening all the time in the 64bit platforms with the default `struct flock`.
Andrea
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |