From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 20 22:15:39 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19C74106566B for ; Sun, 20 Jun 2010 22:15:39 +0000 (UTC) (envelope-from roam@ringlet.net) Received: from praag.hoster.bg (praag.hoster.bg [77.77.142.10]) by mx1.freebsd.org (Postfix) with ESMTP id 888858FC0A for ; Sun, 20 Jun 2010 22:15:38 +0000 (UTC) Received: from middenheim.hoster.bg (middenheim.hoster.bg [77.77.142.11]) by praag.hoster.bg (Postfix) with ESMTP id C93378CA5B for ; Mon, 21 Jun 2010 01:15:36 +0300 (EEST) Received: from straylight.ringlet.net (middenheim.hoster.bg [77.77.142.11]) (Authenticated sender: roam@hoster.bg) by mail.hoster.bg (Postfix) with ESMTP id 771F15C3B8 for ; Mon, 21 Jun 2010 01:15:21 +0300 (EEST) Received: from roam (uid 1000) (envelope-from roam@ringlet.net) id 416008 by straylight.ringlet.net (DragonFly Mail Agent) Mon, 21 Jun 2010 01:15:15 +0300 Date: Mon, 21 Jun 2010 01:15:15 +0300 From: Peter Pentchev To: Garrett Cooper Message-ID: <20100620221515.GA2574@straylight.ringlet.net> Mail-Followup-To: Garrett Cooper , FreeBSD-Hackers , standards@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-MailScanner-ID: 771F15C3B8.80ACB X-hoster-MailScanner: Found to be clean X-hoster-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=0.001, required 10, autolearn=disabled, UNPARSEABLE_RELAY 0.00) X-hoster-MailScanner-From: roam@ringlet.net X-hoster-MailScanner-To: freebsd-hackers@freebsd.org X-Spam-Status: No Cc: FreeBSD-Hackers , standards@freebsd.org Subject: Re: Are POSIX mqueues supposed to be functional on FreeBSD? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 22:15:39 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 20, 2010 at 03:02:35PM -0700, Garrett Cooper wrote: > Err... I ran an mqueue test and it popped up with ENOSYS. Which > makes me wonder, are POSIX mqueues implemented 100% on FreeBSD? I > looked into sys/kern/uip_mqueue.c and it _appears_ functional, but I > could be misreading the code. Another test written which tests mqueue > appears to be broken as well (I'll include that in a later email if > interested). I also attached the truss output and the relative code > blurb for a little more analysis. > Thanks, > -Garrett >=20 > PS I'm not guaranteeing that the code below doesn't have bugs in it as > I'm not the original author and the tests were originally written and > targeted towards Linux. Do you have the P1003_1B_MQUEUE option in your kernel config? G'luck, Peter --=20 Peter Pentchev roam@space.bg roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence is false. --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJMHpLvAAoJEGUe77AlJ98TNTsQAIhNrXfKSbvyY2kkUUTazIJj LoYXFOrkDZno6VK22lXQ3pz5KjYDXDpKvTd/rD8teRZw5NjmZPbbfhLbuHFra05B wPnF0yzhbXYVqKotmeQPWY1HVotkxb++thwLm8SrWRrD5dsFoH94cvq9fyyG8JDD DwkLTlZET3aWj92w2ks+H+VkS5nD0b09S/ViqumvKGi6Mdz73LH0FzI+IuztesjV Zw7R6itJmfabQyXf06rPnjxQd7OmipgiwL84+06kGA+ym6weg6pkmi2J17g7j+6t rDHRUunqyzLEOGUXzD3QVhGRPHtvqG1s8gWaHCvZrUFQUsK4m6TBcF/ImtDdKR2G PPM0JDYFhYU84SPDk27qZTJ7ppn+QSlbKqZc+MLP/fP2XHudkIfE0KjRF/dj/lAR PL6Ht9mHrSUjKhEjHXXBRLFVe6f3FH1pe1NQegih7ajsedhEwyce7aooDh+ArZl2 xj9QjfIE4Al9RCKUIKzmDs4fYZWUqYiySNkuCXX9+eFcJVzY0dsfxUn99toHMWvt G6hn2r2O3ZwhNKR4OKx9oBLfyf/mcNp+DOAnf9tp6Y8FBi/FO4P2rLlAbJ97NwhQ aztkk0U0ZjzEAw1ufgLXwNeHhJXg4IrPBMAVCG3ReYTeZuD1c2puKHNUd7Fbfdkr iDETx78IlUMh43Unp2It =PdJ+ -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--