r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000280), 0x0, 0x0) r1 = dup(r0) ioctl$TIOCGPTPEER(r1, 0x5441, 0x0)