Subject: Re: kern/30250: mknod VNOVAL weirdness
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jason Thorpe <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 05/17/2005 15:16:02
The following reply was made to PR kern/30250; it has been noted by GNATS.
From: Jason Thorpe <thorpej@shagadelic.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/30250: mknod VNOVAL weirdness
Date: Tue, 17 May 2005 08:14:43 -0700
On May 16, 2005, at 11:53 PM, yamt@mwd.biglobe.ne.jp wrote:
> System: NetBSD kaeru 3.99.3 NetBSD 3.99.3 (build.kaeru.xen) #83:
> Sun May 8 08:26:40 JST 2005 takashi@kaeru:/home/takashi/work/kernel/
> build.kaeru.xen i386
> Architecture: i386
> Machine: i386
>
>> Description:
>>
> see below.
>
>> How-To-Repeat:
>>
> # mknod xxx b 4095 1048575
> # ls -l xxx
> brw-r--r-- 1 root wheel 0, 0 May 17 15:45 xxx
>
>> Fix:
>>
> obsolete VNOVAL by introducing a mask member in vattr
> to indicate which members are valid.
Can I suggest taking a look at what Mac OS X Tiger has done in this
regard? Hopefully the xnu sources have been posted on the Darwin web
site.
-- thorpej