Date: Thu, 20 Mar 2008 17:03:55 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_futex.c linux_futex.h Message-ID: <200803201703.m2KH3tvL079505@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rdivacky 2008-03-20 17:03:55 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_futex.c linux_futex.h
Log:
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
Revision Changes Path
1.12 +24 -2 src/sys/compat/linux/linux_futex.c
1.3 +5 -0 src/sys/compat/linux/linux_futex.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803201703.m2KH3tvL079505>
