From owner-cvs-src@FreeBSD.ORG Wed Jan 12 05:55:53 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34DF816A4CE; Wed, 12 Jan 2005 05:55:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C2DA43D41; Wed, 12 Jan 2005 05:55:53 +0000 (GMT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0C5tqlN044188; Wed, 12 Jan 2005 05:55:52 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0C5tq4L044187; Wed, 12 Jan 2005 05:55:52 GMT (envelope-from davidxu) Message-Id: <200501120555.j0C5tq4L044187@repoman.freebsd.org> From: David Xu Date: Wed, 12 Jan 2005 05:55:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys umtx.h src/sys/kern kern_umtx.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 05:55:53 -0000 davidxu 2005-01-12 05:55:52 UTC FreeBSD src repository Modified files: sys/sys umtx.h sys/kern kern_umtx.c Log: Let _umtx_op directly return error code rather than from errno because errno can be tampered potentially by nested signal handle. Now all error codes are returned in negative value, positive value are reserved for future expansion. Revision Changes Path 1.29 +23 -12 src/sys/kern/kern_umtx.c 1.11 +6 -16 src/sys/sys/umtx.h