r0 = creat(&(0x7f00000000c0)='./file1\x00', 0x0) r1 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000280), 0x0, 0x0) ioctl$TIOCSPTLCK(r1, 0x40045431, &(0x7f0000000000)) r2 = ioctl$TIOCGPTPEER(r1, 0x5441, 0x0) ioctl$TCXONC(r2, 0x5437, 0x0) close_range(r0, 0xffffffffffffffff, 0x0)