Re: [Qemu-devel] [PATCH v3] linux-user: Implement ioctl cmd TIOCGPTPEER

2018-02-15 Thread Laurent Vivier
Le 29/01/2018 à 11:47, Andreas Schwab a écrit : > With glibc 2.27 the openpty function prefers the TIOCGPTPEER ioctl. > > Signed-off-by: Andreas Schwab > Reviewed-by: Laurent Vivier > --- > v2: handle host with old kernel headers > v3: fix sparc typos > --- > linux-user/aarch64/termbits.h|

[Qemu-devel] [PATCH v3] linux-user: Implement ioctl cmd TIOCGPTPEER

2018-01-29 Thread Andreas Schwab
With glibc 2.27 the openpty function prefers the TIOCGPTPEER ioctl. Signed-off-by: Andreas Schwab Reviewed-by: Laurent Vivier --- v2: handle host with old kernel headers v3: fix sparc typos --- linux-user/aarch64/termbits.h| 2 ++ linux-user/alpha/termbits.h | 1 + linux-user/arm/termb