Skip Menu |
 

From: "Liang jianhua" <nuljh@nanjing-fnst.com>
To: <krbcore@mit.edu>, <kerberos@mit.edu>
Cc: <krb5-bugs@mit.edu>
Subject: Linux device number bug report
Date: Thu, 15 Jan 2004 15:07:25 +0800
Download (untitled) / with headers
text/plain 1.3KiB
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@nanjing-fnst.com
--------------------------------------------------
From: "Liang jianhua" <nuljh@nanjing-fnst.com>
To: <rt@krbdev.mit.edu>
Subject: Re: [krbdev.mit.edu #2119] AutoReply: Linux device number bug report
Date: Thu, 15 Jan 2004 15:13:46 +0800
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.3KiB
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@nanjing-fnst.com
--------------------------------------------------