Re: BUG/PATCH: include/asm-*/fcntl.h

From: Andrea Arcangeli (
Date: Sat Aug 26 2000 - 13:46:10 EST

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`.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:18 EST