From owner-cvs-all@FreeBSD.ORG Thu Mar 20 17:03:56 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 287BF1065683; Thu, 20 Mar 2008 17:03:56 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 16CF98FC30; Thu, 20 Mar 2008 17:03:56 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2KH3tQP079506; Thu, 20 Mar 2008 17:03:55 GMT (envelope-from rdivacky@repoman.freebsd.org) Received: (from rdivacky@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2KH3tvL079505; Thu, 20 Mar 2008 17:03:55 GMT (envelope-from rdivacky) Message-Id: <200803201703.m2KH3tvL079505@repoman.freebsd.org> From: Roman Divacky Date: Thu, 20 Mar 2008 17:03:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/compat/linux linux_futex.c linux_futex.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 17:03:56 -0000 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