Quoting James Morris ([EMAIL PROTECTED]):
> On Mon, 8 Aug 2005, [EMAIL PROTECTED] wrote:
>
> This looks like a nice cleanup.
>
> > +
> > + if (count < 0 || count >= PAGE_SIZE)
> > + return -ENOMEM;
> > + if (*ppos != 0) {
> > + return -EINVAL;
> > + }
>
> Why is the fir
On Mon, 8 Aug 2005, [EMAIL PROTECTED] 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
--
Ja
Hi,
since Greg KH's securityfs patch is in -mm, the attached patch will
convert seclvl to use securityfs.
thanks,
-serge
Signed-off-by: Serge Hallyn <[EMAIL PROTECTED]>
--
seclvl.c | 226 +++
1 files changed, 69 insertions(+), 157 del
3 matches
Mail list logo