r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0) r1 = dup(r0) ioctl$TCXONC(r1, 0x540a, 0x0) ioctl$TCXONC(r0, 0x540a, 0x3)