linux-user: Handle TIOCSTART and TIOCSTOP
commit8cb762fe013a4368fc7aa2eba27c44033ec310e0
authorHelge Deller <deller@gmx.de>
Tue, 6 Dec 2016 15:24:03 +0000 (6 16:24 +0100)
committerRichard Henderson <rth@twiddle.net>
Mon, 23 Jan 2017 02:14:10 +0000 (22 18:14 -0800)
tree03c0f54ebc45ceb1b661e4b4cfa4c66bd7bef8f3
parent7c4ee5bcc82e643836a5f32db85887d2475288f7
linux-user: Handle TIOCSTART and TIOCSTOP

Some architectures (ppc, alpha, sparc, parisc, sh and xtensa) define the
BSD TIOCSTART and TIOCSTOP ioctls in their kernel headers to provide
compatibility to other operating systems.

Those ioctls are not implemented in Linux, nevertheless, bash will use
this ioctl if it's available on those architectures.

To avoid false warnings, add code to simply ignore those ioctls.

Signed-off-by: Helge Deller <deller@gmx.de>
Message-Id: <20161206152403.GA6651@ls3530>
Signed-off-by: Richard Henderson <rth@twiddle.net>
linux-user/ioctls.h
linux-user/syscall.c