From owner-cvs-src@FreeBSD.ORG Fri Apr 25 12:26:21 2003 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 B29F737B407; Fri, 25 Apr 2003 12:26:21 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3E0C43FE9; Fri, 25 Apr 2003 12:26:18 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3PJQI0U047232; Fri, 25 Apr 2003 12:26:18 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3PJQIqq047228; Fri, 25 Apr 2003 12:26:18 -0700 (PDT) Message-Id: <200304251926.h3PJQIqq047228@repoman.freebsd.org> From: John Baldwin Date: Fri, 25 Apr 2003 12:26:18 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/linux linux_signal.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: Fri, 25 Apr 2003 19:26:22 -0000 jhb 2003/04/25 12:26:18 PDT FreeBSD src repository Modified files: sys/compat/linux linux_signal.c Log: Use a switch to convert the Linux sigprocmask flags to the equivalent FreeBSD flags instead of just adding one to the Linux flags. This should be identical to the previous version except that I have at least one report of this patch fixing problems people were having with Linux apps after my last commit to this file. It is safer to use the switch then to make assumptions about the flag values anyways, esp. since we currently use MD defines for the values of the flags and this is MI code. Tested by: Michael Class Revision Changes Path 1.43 +14 -3 src/sys/compat/linux/linux_signal.c