don't touch the pty permissions after grantpt() or openpty(); ok matthieu@

This commit is contained in:
naddy 2013-02-10 15:41:48 +00:00
parent 75b92ad92d
commit cd204645e0

View File

@ -361,8 +361,6 @@ allocatePty(int *pty_return, char **line_return)
goto bsd;
}
fix_pty_perms(line);
*pty_return = pty;
*line_return = line;
return 0;
@ -383,8 +381,6 @@ allocatePty(int *pty_return, char **line_return)
goto bsd;
}
fix_pty_perms(line);
*pty_return = pty;
*line_return = line;
return 0;