From nobody Thu Feb 08 21:38:24 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TW9Mh6Nr4z5BQrv for ; Thu, 8 Feb 2024 21:38:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TW9Mh3tqdz517n for ; Thu, 8 Feb 2024 21:38:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707428304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d9HjxekWHFcXrQf9FqlvaPF+VKV7l6cumnFpy3jog8A=; b=J7W1ELfKcg/KmAG6VIl/ZSEdRmluxTyO9+dnizwPo4TNeQAeiUQE6Qm5YSkESjQ++2U1PW HVxXg65fBmIhhFDgg5qzx6jnKRQXDYxL7mv7FGzFAqwO9AMHUvBFS8w54Um/nthJgTNEWK vwLjX5g/RkOKzEc6n2aVSDPhQKfQo2uIzRYpHKvTUzNalOMaUvGUDjlM8EuXsKL6t0Uqmp Ldo7u0/A4rbczRUrrIJlFnKsNwxLnAK06Pht3OvP7dYszNFAzPIFHpYdihh+3wjvp8/rXZ jR0erDIJlgJIBPRa9l5ImsY3zBG/QGAdyUZ1Tefi1GeAviZezDmi6IzEdIoJLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707428304; a=rsa-sha256; cv=none; b=r8y6UaTdkDqzUeclzrZZRwvqwGTGmdNEfUJ1hO7iocrwm9nVslGtRtMi56/Ln1ziQrKgUz 7r0IEOSZ3ryHkuylz/w4UCsI9QQ1QbEsGrJBG+h4Qcsy4vumsizSA6gI2f4UATdoI+uuZV /1WWmdHSjJjkIivf/X9TBJFUoYFcMMz2wKKlqv/c18ShY3oGTZGfBD3FaSlWtlQtIkvJAk oPllQ9nvQyN1phHIHzhNVgA3vTYEouWin3aQeiKFxafG4/C5YoIEWVmNoVSVzrcuPJKN6Z VQD4vtk5sZnt3wlht3A22kmGtJVj5D0vVWcHJ7/VXzatjKuHeGO4HTx2ozLZ7A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TW9Mh2xY6z160R for ; Thu, 8 Feb 2024 21:38:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 418LcO8F070888 for ; Thu, 8 Feb 2024 21:38:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 418LcOTi070887 for bugs@FreeBSD.org; Thu, 8 Feb 2024 21:38:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276897] Introducing posixmqcontrol Date: Thu, 08 Feb 2024 21:38:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: unitrunker@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 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.=