From: Ingo Oeser <ioe-lkml@rameria.de>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Corey Minyard <minyard@acm.org>,
viro@zeniv.linux.org.uk, Matt_Domsch@dell.com,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC][CFLART] ipmi procfs bogosity
Date: Mon, 5 Sep 2005 12:51:32 +0200 [thread overview]
Message-ID: <200509051251.41928.ioe-lkml@rameria.de> (raw)
In-Reply-To: <20050901203043.GB10893@mipter.zuzino.mipt.ru>
[-- Attachment #1: Type: text/plain, Size: 702 bytes --]
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 #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-09-05 10:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-01 6:43 viro
2005-09-01 16:41 ` Corey Minyard
2005-09-01 19:32 ` viro
2005-09-01 20:00 ` Corey Minyard
2005-09-01 20:30 ` Alexey Dobriyan
2005-09-05 10:51 ` Ingo Oeser [this message]
2005-09-05 19:38 ` Alexey Dobriyan
2005-09-01 19:41 ` Andrew Morton
2005-09-01 23:03 ` Corey Minyard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200509051251.41928.ioe-lkml@rameria.de \
--to=ioe-lkml@rameria.de \
--cc=Matt_Domsch@dell.com \
--cc=adobriyan@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@acm.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®