mqueues: Let the world know we support them.
authorStathis Kamperis <beket@dragonflybsd.org>
Fri, 6 Nov 2009 20:42:26 +0000 (22:42 +0200)
committerStathis Kamperis <beket@dragonflybsd.org>
Fri, 6 Nov 2009 20:47:52 +0000 (22:47 +0200)
commit1973ed78140b304a046f6c01c297510dc14611c0
tree84a1069663044a63804aea9ea0e3fa561c988a73
parentd8c823acd9aa0cdf77a8655ca7149023fb93db85
mqueues: Let the world know we support them.

There are two ways to determine whether we support the message
passing interface, as described in POSIX 1003.1B standard.

The standard way is to use sysconf(3) and the DragonFly-specific
way is to check the value of p1003_1b.message_passing sysctl.

We make sure that both return consistent results with respect to
each other.
lib/libc/gen/sysconf.c
sys/kern/kern_p1003_1b.c
sys/sys/unistd.h