Re: [RFC][CFLART] ipmi procfs bogosity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux