Hi, On Thursday 01 September 2005 22:30, Alexey Dobriyan wrote: > On Thu, Sep 01, 2005 at 03:00:44PM -0500, Corey Minyard wrote: > > 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. No, user interfaces should be robust. Just remember the mantra "Be liberal in what you accept and conservative in what you send." I would suggest adding sth. like Coreys user_strtoul() to lib/string.c which would reduce bloat and security threats for the kernel. Regards Ingo Oeser
Attachment:
pgp3GDlFkfMI8.pgp
Description: PGP signature
- Follow-Ups:
- Re: [RFC][CFLART] ipmi procfs bogosity
- From: Alexey Dobriyan <[email protected]>
- Re: [RFC][CFLART] ipmi procfs bogosity
- References:
- [RFC][CFLART] ipmi procfs bogosity
- From: [email protected]
- Re: [RFC][CFLART] ipmi procfs bogosity
- From: Corey Minyard <[email protected]>
- Re: [RFC][CFLART] ipmi procfs bogosity
- From: Alexey Dobriyan <[email protected]>
- [RFC][CFLART] ipmi procfs bogosity
- Prev by Date: Re: [Linux-cluster] Re: GFS, what's remaining
- Next by Date: Re: [patch] Bring the Vaio's RA826G HDA (82801) to life ...
- Previous by thread: Re: [RFC][CFLART] ipmi procfs bogosity
- Next by thread: Re: [RFC][CFLART] ipmi procfs bogosity
- Index(es):