Re: message queue limits

From: Bill Davidsen
Date: Tue Apr 13 2004 - 15:16:59 EST


Ulrich Drepper wrote:
Something has to change in the way message queues are created.
Currently it is possible for an unprivileged user to exhaust all mq
slots so that only root can create a few more. Any other unprivileged
user has no change to create anything.

I think it is necessary to create a per-user limit instead of a
system-wide limit.

I think you mean "in addition to" rather than "instead of" here, one limit would keep one user from hogging the resource, the other would keep the resource from exhausting {whatever runs out first}.

--
-bill davidsen (davidsen@xxxxxxx)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
-
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/