From: James Morris <jmorris@namei.org>
To: serue@us.ibm.com
Cc: Andrew Morton <akpm@osdl.org>,
lkml <linux-kernel@vger.kernel.org>,
Michael Halcrow <mhalcrow@us.ibm.com>
Subject: Re: [PATCH] seclvl: use securityfs
Date: Tue, 9 Aug 2005 01:08:27 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.63.0508090107190.20178@excalibur.intercode> (raw)
In-Reply-To: <20050809004321.GA9332@sergelap.austin.ibm.com>
On Mon, 8 Aug 2005, serue@us.ibm.com wrote:
This looks like a nice cleanup.
> +
> + if (count < 0 || count >= PAGE_SIZE)
> + return -ENOMEM;
> + if (*ppos != 0) {
> + return -EINVAL;
> + }
Why is the first error there -ENOMEM and not -EINVAL?
- James
--
James Morris
<jmorris@namei.org>
next prev parent reply other threads:[~2005-08-09 5:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-09 0:43 [PATCH] seclvl: use securityfs serue
2005-08-09 5:08 ` James Morris [this message]
2005-08-09 13:44 ` serue
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=Pine.LNX.4.63.0508090107190.20178@excalibur.intercode \
--to=jmorris@namei.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhalcrow@us.ibm.com \
--cc=serue@us.ibm.com \
/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