linux-user: add more compat ioctl definitions
commitc5495f4ecb0cdaaf2e9dddeb48f1689cdb520ca0
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 4 Oct 2022 09:32:03 +0000 (4 10:32 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 21 Oct 2022 15:46:19 +0000 (21 17:46 +0200)
tree19356823cd9b8a3493c2d2cb1f21d030b5bdd4a1
parent00ed8a3459869f46dbb4e18d4dcc81882dfe8776
linux-user: add more compat ioctl definitions

GLibc changes prevent us from including linux/fs.h anymore,
and we previously adjusted to this in

  commit 3cd3df2a9584e6f753bb62a0028bd67124ab5532
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   Tue Aug 2 12:41:34 2022 -0400

    linux-user: fix compat with glibc >= 2.36 sys/mount.h

That change required adding compat ioctl definitions on the
QEMU side for any ioctls that we would otherwise obtain
from linux/fs.h.  This commit adds more that were initially
missed, due to their usage being conditionalized in QEMU.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221004093206.652431-2-berrange@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c