[krbdev.mit.edu #2119] AutoReply: Linux device number bug report
Liang jianhua via RT
rt-comment at krbdev.mit.edu
Thu Jan 15 02:12:26 EST 2004
Hello,
I have some questions about device number extension.
In Linux kernel 2.6, device number will be extended from 16-bit to 32-bit. All utilities and libraries should make corresponding extension for this new feature in kernel 2.6.
As the format of extended device number is as following: mmmm mmmm mmmm MMMM MMMM MMMM mmmm mmmm, that "major" should be 12-bit, and "minor" should be 20-bit. "M" means major device number. "m" means minor device number.
But I find that ¡°krb5-1.2.7¡± uses structure dev_t and operates the minor device number as 8-bit.
In file krb5-1.2.7/src/util/pty/getpty.c: 109
ptynum = (int)(stb.st_rdev&0xFF)
So it seems not to correspond to device number extension.
Since I didn¡¯t find any information about this aspect in homepage of this package, I wonder whether the latest version has completed the device number extension? If not, will it be completed in the future? And when?
Looking forward to answering.
Liang Jianhua
regards
--------------------------------------------------
Liang Jianhua
Dept. of Technology and Development
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
No. 16-5, Guanzhou Rd., Nanjing, P.R.China
PHONE: +86+25-6630523-636
FUJITSU INTERNAL: 79955-636
FAX: +86+25-3317685
Mail: nuljh at nanjing-fnst.com
--------------------------------------------------
More information about the krb5-bugs
mailing list