From owner-freebsd-current@FreeBSD.ORG Sat Apr 26 05:48:02 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4011037B401; Sat, 26 Apr 2003 05:48:02 -0700 (PDT) Received: from cvsup.no.freebsd.org (c2h5oh.idi.ntnu.no [129.241.103.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9C2143FD7; Sat, 26 Apr 2003 05:48:00 -0700 (PDT) (envelope-from Tor.Egge@cvsup.no.freebsd.org) Received: from localhost (localhost [127.0.0.1])h3QCliRg032255; Sat, 26 Apr 2003 12:47:46 GMT (envelope-from tegge@cvsup.no.freebsd.org) To: jhb@freebsd.org From: Tor.Egge@cvsup.no.freebsd.org In-Reply-To: References: <1051238620.36298.14.camel@localhost> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sat_Apr_26_12:46:08_2003_809)--" Content-Transfer-Encoding: 7bit Message-Id: <20030426124744F.tegge@cvsup.no.freebsd.org> Date: Sat, 26 Apr 2003 12:47:44 GMT Sender: Tor Egge X-Dispatcher: imput version 20000228(IM140) Lines: 34 cc: funk@softhome.net cc: current@freebsd.org Subject: RE: Linux compat broken?? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 12:48:02 -0000 ----Next_Part(Sat_Apr_26_12:46:08_2003_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Revert basically means to back out. :) In this case go back to revision > 1.41. The enclosed patch solved my problem with revision 1.43. - Tor Egge ----Next_Part(Sat_Apr_26_12:46:08_2003_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=lsigdiff Index: sys/compat/linux/linux_signal.c =================================================================== RCS file: /home/ncvs/src/sys/compat/linux/linux_signal.c,v retrieving revision 1.43 diff -u -r1.43 linux_signal.c --- sys/compat/linux/linux_signal.c 25 Apr 2003 19:26:18 -0000 1.43 +++ sys/compat/linux/linux_signal.c 26 Apr 2003 12:25:25 -0000 @@ -252,7 +252,7 @@ } else nmaskp = NULL; error = kern_sigprocmask(td, how, nmaskp, &omask, 0); - if (error != 0 && old != NULL) + if (error == 0 && old != NULL) bsd_to_linux_sigset(&omask, old); return (error); ----Next_Part(Sat_Apr_26_12:46:08_2003_809)----