This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10166] New: grantpt() does can not be used for devpts
- From: "yjwei at cn dot fujitsu dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 May 2009 04:01:39 -0000
- Subject: [Bug libc/10166] New: grantpt() does can not be used for devpts
- Reply-to: sourceware-bugzilla at sourceware dot org
On my Fedora11Beta box, the grantpt() does can not be used for devpts.
In RHEL system, the /etc/fstab has this configure, it has no problem.
devpts /dev/pts devpts gid=5,mode=620 0 0
But in Fedora11Beta this line changed to:
devpts /dev/pts devpts defaults 0 0
I looked into the kernel source, the mode of devpts has the default value of
600, not 620. So, does not change the mode of devpts is not correct.
This is found by LTP - testcases/kernel/pty/pty01.c
--
Summary: grantpt() does can not be used for devpts
Product: glibc
Version: 2.10
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: yjwei at cn dot fujitsu dot com
CC: glibc-bugs at sources dot redhat dot com
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.