]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Add stub support for some new futex operations,
authorRoman Divacky <rdivacky@FreeBSD.org>
Thu, 20 Mar 2008 17:03:55 +0000 (17:03 +0000)
committerRoman Divacky <rdivacky@FreeBSD.org>
Thu, 20 Mar 2008 17:03:55 +0000 (17:03 +0000)
commit6af821237d01a1bf10d76961ea1877f897527a87
tree5c5eb58afff7ee8d16ebe98859711284a23301f2
parent43b1161d4d865e4cab9848ac3617bc84da4194d8
o Add stub support for some new futex operations,
so the annoying message is not printed.

o Don't warn about FUTEX_FD not being implemented
and return ENOSYS instead of 0 (eg. success).

o Clear FUTEX_PRIVATE_FLAG as we actually implement
only private futexes so there is no reason to
return ENOSYS when app asks for a private futex.
We don't reject shared futexes because they worked
just fine with our implementation so far.

Approved by: kib (mentor)
Tested by: bsam
MFC after: 1 week
sys/compat/linux/linux_futex.c
sys/compat/linux/linux_futex.h