[LTP] [COMMITTED] [PATCH] mq_timedreceive_5-3: Initialize maxmsg properly

Joerg Vehlow lkml@jv-coder.de
Mon Feb 15 06:35:15 CET 2021


Hi Cyril,

On 2/12/2021 4:15 PM, Cyril Hrubis wrote:
> The test can be actually executed as non-root user but the maxmsg must
> be set to a value that is less by user limit for messages and since we
> do not send any messages we can safely initialize it to 1.
This is applies to more than only this test. I also recognized this when 
fixing the time issue, but decided not to change it, because it is not 
the only affected test.
The max message size could be up to /proc/sys/fs/mqueue/msg_max. This is 
usually 10.

Jörg


More information about the ltp mailing list