Re: [PATCH v8 1/5] ipc: IPCMNI limit check for msgmni and shmmni

From: Luis R. Rodriguez
Date: Wed Jun 27 2018 - 23:16:13 EST


On Mon, Jun 18, 2018 at 06:28:14PM +0800, Waiman Long wrote:
> A user can write arbitrary integer values to msgmni and shmmni sysctl
> parameters without getting error, but the actual limit is really
> IPCMNI (32k). This can mislead users as they think they can get a
> value that is not real.
>
> The right limits are now set for msgmni and shmmni so that the users
> will become aware if they set a value outside of the acceptable range.
>
> Signed-off-by: Waiman Long <longman@xxxxxxxxxx>

Acked-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxx>

Luis