r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000080), 0x0, 0x0) ioctl$TIOCSPTLCK(r0, 0x40045431, &(0x7f0000000000)) r1 = ioctl$TIOCGPTPEER(r0, 0x5441, 0x0) ioctl$KDSETMODE(r1, 0x540a, 0x0) r2 = ioctl$TIOCGPTPEER(r0, 0x5441, 0x0) ioctl$TCXONC(r2, 0x540a, 0x1)