Re: [PATCH] ALSA: ctl: Fix incompatible ioctls for X32 ABI

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

 



On Sat, 27 Feb 2016 18:04:40 +0100,
Takashi Iwai wrote:
> 
> The X32 ABI takes the same alignment like x86-64, and this may result
> in the incompatible struct size from ia32.  Unfortunately, we hit this
> in some control ABI: struct snd_ctl_elem_value differs between them
> due to the position of 64bit variable array.  This ends up with the
> unknown ioctl (ENOTTY) error.
> 
> The fix is to add the compat entries for the new aligned struct.
> 
> Reported-and-tested-by: Steven Newbury <steve@xxxxxxxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>

It turned out that there are more breakage than this single one.
I'll resend a v2 patchset.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux