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

From: Stephen Hemminger
Date: Fri Feb 13 2004 - 15:47:23 EST


> 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/