[alsa-devel] [PATCH] ALSA: ctl: Fix incompatible ioctls for X32 ABI

Takashi Iwai tiwai at suse.de
Mon Feb 29 11:30:29 CET 2016


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 at snewbury.org.uk>
> Cc: <stable at vger.kernel.org>
> Signed-off-by: Takashi Iwai <tiwai at suse.de>

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


Takashi


More information about the Alsa-devel mailing list