From owner-cvs-src-old@FreeBSD.ORG Mon Nov 15 13:03:46 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E050106564A for ; Mon, 15 Nov 2010 13:03:46 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD138FC0C for ; Mon, 15 Nov 2010 13:03:46 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAFD3kbk041176 for ; Mon, 15 Nov 2010 13:03:46 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAFD3kBG041175 for cvs-src-old@freebsd.org; Mon, 15 Nov 2010 13:03:46 GMT (envelope-from netchild@repoman.freebsd.org) Message-Id: <201011151303.oAFD3kBG041175@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to netchild@repoman.freebsd.org using -f From: Alexander Leidinger Date: Mon, 15 Nov 2010 13:03:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/linux linux_futex.c linux_futex.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 13:03:46 -0000 netchild 2010-11-15 13:03:35 UTC FreeBSD src repository Modified files: sys/compat/linux linux_futex.c linux_futex.h Log: SVN rev 215338 on 2010-11-15 13:03:35Z by netchild - print out the PID and program name of the program trying to use an unsupported futex operation - for those futex operations which are known to be not supported, print out which futex operation it is - shortcut the error return of the unsupported FUTEX_CLOCK_REALTIME in some cases: FUTEX_CLOCK_REALTIME can be used to tell linux to use CLOCK_REALTIME instead of CLOCK_MONOTONIC. FUTEX_CLOCK_REALTIME however must only be set, if either FUTEX_WAIT_BITSET or FUTEX_WAIT_REQUEUE_PI are set too. If that's not the case we can die with ENOSYS right at the beginning. Submitted by: arundel Reviewed by: rdivacky (earlier iteration of the patch) MFC after: 1 week Revision Changes Path 1.27 +42 -6 src/sys/compat/linux/linux_futex.c 1.8 +12 -9 src/sys/compat/linux/linux_futex.h