Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH 0/1] devpts: use dynamic_dname() to generate proc name

$
0
0
Linus Torvalds writes: (Summary) With TIOCGPTPEER we have a nice way to get the pts file descriptor, but the "normal" way to get to it involves opening a path given by ptsname(), so we en dup in the crazy situation that we can easily open the file without the path, but then we use the fd to get the path (that we didn't need) and then people open it with that path, because the standard sequence to get a pts is
because the standard sequence to get a pts is
  master = getpt() / posix_openpt() / open("/dev/ptmx", O_RDWR |

Viewing all articles
Browse latest Browse all 1267

Trending Articles