Subject: Re: kern/36660: envsys sensor names are not unique
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: netbsd-bugs
Date: 07/21/2007 11:55:06
The following reply was made to PR kern/36660; it has been noted by GNATS.
From: Juan RP <juan@xtrarom.org>
To: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/36660: envsys sensor names are not unique
Date: Sat, 21 Jul 2007 13:53:31 +0200
On Sat, 21 Jul 2007 20:50:42 +0900 (JST)
yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
> shouldn't it be rejected by kernel as well?
It is already, see envsys(4), sysmon_envsys(9) and the code
in ENVSYS_SETDICTIONARY and sme_userret_dictionary().
If you specify a sensor without a driver name, it will return an error.
--
Juan Romero Pardines - The NetBSD Project
http://plog.xtrarom.org - NetBSD/pkgsrc news in Spanish