From owner-freebsd-alpha@FreeBSD.ORG Fri Apr 18 13:45:43 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66D9837B401 for ; Fri, 18 Apr 2003 13:45:43 -0700 (PDT) Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D32743FE0 for ; Fri, 18 Apr 2003 13:45:42 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 15734 invoked from network); 18 Apr 2003 20:45:48 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 18 Apr 2003 20:45:48 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h3IKjbOv079413; Fri, 18 Apr 2003 16:45:37 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 18 Apr 2003 16:45:38 -0400 (EDT) From: John Baldwin To: current@FreeBSD.org X-Mailman-Approved-At: Mon, 21 Apr 2003 17:45:20 -0700 Subject: [PATCH] Convert binary emulators to using kern_sigfoo functions.. X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 20:45:44 -0000 [ bcc'd to alpha@ and ia64@ ] I have a moderate (30k) patch to convert the various binary emulators to use kern_sigaction(), kern_sigaltstack(), kern_sigprocmask(), and kern_sigsuspend() instead of using the stackgap (or in the case of ibcs2 bogusly _not_ using the stackgap) to try and call the syscall functions directly. The patch is at http://www.FreeBSD.org/~jhb/patches/compat.patch and affects the following emulators: - Linux on i386 - SVR4 on i386 - IBCS2 on i386 - OSF/1 on Alpha - Linux on Alpha - FreeBSD/ia32 on IA64 Please test and review. Thanks. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/