Thanks for the response!

Michael Kerrisk wrote:
> 2. I've added a note to openpty.3 stating that in 2.0.92, 
>    glibc openpty() swapped from using BSD ptys to Unix 98 ptys.

Note, though, that openpty() falls back to BSD ptys if it can't
get a unix98 pty.  The strace continues:

open("/dev/ptmx", O_RDWR)               = 3
statfs("/dev/pts", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, 
f_blocks=2520713,...
statfs("/dev/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=2520713, ...
open("/dev/ptyp0", O_RDWR)              = -1 EACCES (Permission denied)
open("/dev/ptyp1", O_RDWR)              = -1 EACCES (Permission denied)
open("/dev/ptyp2", O_RDWR)              = -1 EACCES (Permission denied)
[...]
open("/dev/ptyed", O_RDWR)              = -1 EACCES (Permission denied)
open("/dev/ptyee", O_RDWR)              = -1 EACCES (Permission denied)
open("/dev/ptyef", O_RDWR)              = -1 EACCES (Permission denied)
exit_group(-1)                          = ?

-- 
Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to