Re: [PATCH v2 1/2] syslog: distinguish between /proc/kmsg andsyscalls

From: Kees Cook
Date: Thu Feb 04 2010 - 03:10:36 EST


Hi Alex,

On Thu, Feb 04, 2010 at 08:58:43AM +0100, Alex Riesen wrote:
> > +       /* /proc/kmsg can open be opened by CAP_SYS_ADMIN */
> > +       if (type != 1 && from_file)
> > +               return 0;
>
> "can open be opened"?

Erk, sorry. s/open //

James, do you want a patch for that?

-Kees

--
Kees Cook
Ubuntu Security Team
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/