Are POSIX mqueues supposed to be functional on FreeBSD?

Peter Pentchev roam at
Sun Jun 20 22:43:32 UTC 2010

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


Peter Pentchev	roam at    roam at    roam at
PGP key:
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence is false.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url :

More information about the freebsd-standards mailing list