Messages in this thread | | | Date | Fri, 2 Sep 2005 00:30:44 +0400 | From | Alexey Dobriyan <> | Subject | Re: [RFC][CFLART] ipmi procfs bogosity |
| |
On Thu, Sep 01, 2005 at 03:00:44PM -0500, Corey Minyard wrote: > To me, It's a lot nicer to do: > > rv = user_strtoul(....); > if (rv < 0) > return rv; > > Plus the scanning function I wrote handles arbitrary leading and > trailing space, etc. Not a big deal, but a little nicer.
You can say from the beggining that
echo -n " 2 " >/proc/FUBAR
is illegal and don't add bloat to kernel.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |