don't touch the pty permissions after grantpt() or openpty(); ok matthieu@
This commit is contained in:
parent
75b92ad92d
commit
cd204645e0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user