Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2010 01:15:15 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        FreeBSD-Hackers <freebsd-hackers@freebsd.org>, standards@freebsd.org
Subject:   Re: Are POSIX mqueues supposed to be functional on FreeBSD?
Message-ID:  <20100620221515.GA2574@straylight.ringlet.net>
In-Reply-To: <AANLkTilHaP5K-NpRDG41yZimK9bJbO4nPlSF6Egqt5Rm@mail.gmail.com>
References:  <AANLkTilHaP5K-NpRDG41yZimK9bJbO4nPlSF6Egqt5Rm@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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