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

2018-01-25 Thread Laurent Vivier
Le 25/01/2018 à 14:18, Andreas Schwab a écrit : > With glibc 2.27 the openpty function will prefer the TIOCGPTPEER ioctl. > > Signed-off-by: Andreas Schwab > --- > v2: handle host with old kernel headers > --- > linux-user/aarch64/termbits.h| 2 ++ > linux-user/alpha/termbits.h | 1 + >

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

2018-01-25 Thread Andreas Schwab
With glibc 2.27 the openpty function will prefer the TIOCGPTPEER ioctl. Signed-off-by: Andreas Schwab --- v2: handle host with old kernel headers --- linux-user/aarch64/termbits.h| 2 ++ linux-user/alpha/termbits.h | 1 + linux-user/arm/termbits.h| 1 + linux-user/cris/termbits.