This review introduces a new utility - in the spirit of posixshmcontrol - for managing POSIX message queues.
Summary of features:
1 create one or more new queues with the following in common:
- maximum message size.
- maximum queue depth.
- mode bits (rwx).
- group and user ownership (by ID or name).
- blocking or non-blocking I/O.
- update all of the above attributes to existing queues.
- inspect the above attributes on one or more existing queues.
- send one or more messages to one or more named queues with optional priority.
- receive a message from a named queue.
- remove one or more named queues.
This utility requires the mqueuefs kernel module to be loaded. It does NOT require or make use of a mounted mqueuefs.
Justification
- Create all required queues following boot.
- De-couple queue administration from application code.
- Queue depthing monitoring.
- Access control management with or without a mounted mqueuefs file system.
More details can be found in the manual page.