Re: [resend][PATCH 1/3] mqueue: revert bump up DFLT_*MAX

From: Andrew Morton
Date: Sun Dec 18 2011 - 13:36:05 EST


On Sun, 18 Dec 2011 13:29:56 -0500 KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxx> wrote:

> (12/9/11 5:35 PM), kosaki.motohiro@xxxxxxxxx wrote:
> > From: KOSAKI Motohiro<kosaki.motohiro@xxxxxxxxxxxxxx>
> >
> > Mqueue limitation is slightly naieve parameter likes other ipcs
> > because unprivileged user can consume kernel memory by using ipcs.
> >
> > Thus, too aggressive raise bring us security issue. Example,
> > current setting allow evil unprivileged user use 256GB (= 256
> > * 1024 * 1024*1024) and it's enough large to system will belome
> > unresponsive. Don't do that.
> >
> > Instead, every admin should adjust the knobs for their own systems.
> >
> > Signed-off-by: KOSAKI Motohiro<kosaki.motohiro@xxxxxxxxxxxxxx>
> > Acked-by: Doug Ledford<dledford@xxxxxxxxxx>
> > Acked-by: Joe Korty<joe.korty@xxxxxxxx>
> > Cc: Amerigo Wang<amwang@xxxxxxxxxx>
> > Cc: Serge E. Hallyn<serue@xxxxxxxxxx>
> > Cc: Jiri Slaby<jslaby@xxxxxxx>
>
> Andrew, can you please pick up this series into your tree? because your
> tree have related Doug mqueue patch series.

Soon. I need to go back and read the email trail regarding Doug's patches.
--
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/