netdev
[Top] [All Lists]

Re: [PATCH] don't allow / in class device names

To: Greg KH <greg@xxxxxxxxx>
Subject: Re: [PATCH] don't allow / in class device names
From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Fri, 13 Feb 2004 12:45:55 -0800
Cc: Tommi Virtanen <tv@xxxxxxxxxxxxx>, Leann Ogasawara <ogasawara@xxxxxxxx>, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20040213203448.GB14048@xxxxxxxxx>
Organization: Open Source Development Lab
References: <20040213102755.27cf4fcd.shemminger@xxxxxxxx> <20040213203448.GB14048@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
> No, the "fix" is to just not do this in the driver.  I'm not going to
> apply this patch, sorry.
> 
> thanks,
> 
> greg k-h

Bah, kernel API's should check there arguments.  One of my peeve's about sysfs 
is
that it is far too lazy about checking it's inputs.  Especially, when the 
restrictions
are not well documented, the code needs to validate.


<Prev in Thread] Current Thread [Next in Thread>