Search Linux Wireless

Re: zd1211rw (2.6.22 sparc64): unaligned access (do_rx)

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

 



On Friday 07 December 2007 04:52:14 David Miller wrote:
> From: Jean Tourrilhes <jt@xxxxxxxxxx>
> Date: Thu, 6 Dec 2007 13:43:41 -0800
> 
> > On Thu, Dec 06, 2007 at 10:33:18PM +0100, Michael Buesch wrote:
> > > Userspace handles this transparently through fault traps.
> > 
> > 	This is exactly what I was assuming. On the SPARC, in this
> > instance, it did not (check back earlier in this discussion).
> 
> Right, you get a SIGBUS, and this is what will happen on
> MIPS as well.
> 
> It is even defined in the application ABIs for these platforms that
> all objects must be aligned to their type's natural size.
> 
> 

So, how do we handle unaligned data in userspace then?
A _lot_ of applications are broken if that's right what you say.

-- 
Greetings Michael.
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux