[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633423: Problem with autofs 64-bit kernel/32-bit userspace compatibility



On Fri, Feb 24, 2012 at 01:54:39PM -0600, Jonathan Nieder wrote:
> Ben Hutchings wrote:
> 
> > (But why hasn't this been spotted on sparc or powerpc already,
> > where 32-bit userland on 64-bit kernel is the normal case?)
> 
> __u64 is 64-bit aligned on those arches in 32-bit mode.
> 
> http://thread.gmane.org/gmane.linux.kernel/1255890

OK, so it was all supposed to be non-word-size-dependent and someone
messed it up with padding.

The same thing happened with some newer ethtool command structures.
:-/  Would be nice if we had some systematic testing to detect this
before such definitions escape into a release.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus



Reply to: