Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2024 21:38:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276897] Introducing posixmqcontrol
Message-ID:  <bug-276897-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276897

            Bug ID: 276897
           Summary: Introducing posixmqcontrol
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: unitrunker@gmail.com

Created attachment 248269
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248269&action=
=3Dedit
sources

This "bug" introduces a new utility - in the spirit of posixshmcontrol - for
managing POSIX message queues.

Included in tarball are - one C source file, one man-page, and several (sh)
test scripts from regression.

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.

2. update all of the above attributes to existing queues.
3. inspect the above attributes on one or more existing queues.
4. send one or more messages to one or more named queues with optional
priority.
5. receive a message from a named queue.
6. 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.

Steps for a convenient way to view the manual page:

gzip -k posixmqcontrol.1
mkdir man1
mv -f posixmqcontrol.1.gz man1/
man -M . posixmqcontrol

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276897-227>