This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10166] grantpt() does can not be used for devpts


------- Additional Comments From yjwei at cn dot fujitsu dot com  2009-06-05 08:16 -------
I had look the manpage of grantpt():

#man 3 grantpt

DESCRIPTION
       The grantpt() function changes the mode and owner of the slave
pseudo-terminal device (pty) corresponding to the master pty referred
to by fd.  The user ID of the slave is set to the real UID of the
calling process.  The group ID is set to an unspecified value (e.g.
tty).  The mode of the slave is set to 0620 (crw--w----).

So there is no reason for glibc does not change the mode of devpts,
since the default mode of devpts is 600. Isn't it?


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10166

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]