[PATCH 2/2] Update ioctl entries from linux v5.14

Eugene Syromyatnikov evgsyr at gmail.com
Wed Aug 25 16:11:43 UTC 2021


On Wed, Aug 18, 2021 at 11:09 AM Dmitry V. Levin <ldv at altlinux.org> wrote:
>
> On Tue, Aug 17, 2021 at 05:04:16PM +0300, Gleb Fotengauer-Malinovskiy wrote:
> > * src/linux/32/ioctls_inc_align16.h: Update from src/linux v5.14-rc6
> > using ioctls_gen.sh.
> > * src/linux/32/ioctls_inc_align32.h: Likewise.
> > * src/linux/32/ioctls_inc_align64.h: Likewise.
> > * src/linux/64/ioctls_inc.h: Likewise.
> > * src/linux/x32/ioctls_inc0.h: Likewise.
> > * src/linux/aarch64/ioctls_arch0.h: Likewise.
> > * src/linux/i386/ioctls_arch0.h: Likewise.
> > * src/linux/mips/ioctls_arch0.h: Likewise.
> > * src/linux/powerpc/ioctls_arch0.h: Likewise.
> > * src/linux/s390/ioctls_arch0.h: Likewise.
> > * src/linux/s390x/ioctls_arch0.h: Likewise.
> > * src/linux/x86_64/ioctls_arch0.h: Likewise.
> > * NEWS: Mention this.
>
> Apparently, this caused test failures.
>
> FAIL: ioctl_ubi.gen
> -ioctl(-1, AUDIO_STOP, 0xdeadbeefbadc0ded) = -1 EBADF (Bad file descriptor)
> +ioctl(-1, _IOC(_IOC_NONE, 0x6f, 0x1, 0), 0xdeadbeefbadc0ded) = -1 EBADF (Bad file descriptor)
>
> FAIL: ioctl_ubi-success.gen
> -ioctl(-1, AUDIO_STOP, 0xdeadbeefbadc0ded) = 42 (INJECTED)
> +ioctl(-1, _IOC(_IOC_NONE, 0x6f, 0x1, 0), 0xdeadbeefbadc0ded) = 42 (INJECTED)

For the record, the commit removing the ioctl command definitions has
been reverted in v5.14-rc7-1-gd5ae8d7f85b7[1][2], maybe it is worth
running the ioctl entries generation again.

[1] https://lore.kernel.org/lkml/4e3e0d40-df4a-94f8-7c2d-85010b0873c4@web.de/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d5ae8d7f85b7f6f6e60f1af8ff4be52b0926fde1


-- 
Eugene Syromyatnikov
mailto:evgsyr at gmail.com
xmpp:esyr at jabber.{ru|org}


More information about the Strace-devel mailing list