From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steven Tamm Newsgroups: gmane.emacs.devel Subject: Re: Mac OS X: Rebuild Require after Security Update 2002-11-21 Date: Sun, 24 Nov 2002 15:06:50 -0800 Sender: emacs-devel-admin@gnu.org Message-ID: <69C62E0D-0001-11D7-AD9F-00039390AB82@mac.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v548) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1038179675 31101 80.91.224.249 (24 Nov 2002 23:14:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 24 Nov 2002 23:14:35 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18G5xS-00085V-00 for ; Mon, 25 Nov 2002 00:14:34 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18G62n-0004eY-00 for ; Mon, 25 Nov 2002 00:20:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18G5qO-0001it-00; Sun, 24 Nov 2002 18:07:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18G5q3-0001gw-00 for emacs-devel@gnu.org; Sun, 24 Nov 2002 18:06:55 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18G5q1-0001gi-00 for emacs-devel@gnu.org; Sun, 24 Nov 2002 18:06:54 -0500 Original-Received: from smtpout.mac.com ([17.250.248.97]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18G5q1-0001gd-00 for emacs-devel@gnu.org; Sun, 24 Nov 2002 18:06:53 -0500 Original-Received: from asmtp01.mac.com (asmtp01-qfe3 [10.13.10.65]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id gAON6qCV007897 for ; Sun, 24 Nov 2002 15:06:52 -0800 (PST) Original-Received: from mac.com ([12.236.43.16]) by asmtp01.mac.com (Netscape Messaging Server 4.15) with ESMTP id H63S7F00.PCT; Sun, 24 Nov 2002 15:06:51 -0800 Original-To: Andrew Choi In-Reply-To: X-Mailer: Apple Mail (2.548) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9657 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9657 Yay. I just checked it in. * unexmacosx.c (unexec_realloc): Use malloc_default_zone to determine the size of pointers alloced in unexed space instead of using possibly invalid emacs_zone pointers. This fixes the binary incompatibility problems caused by updates to libSystem.B. If anybody is making binary distributions publicly available, you should sync the change to unexmacosx.c and rebuild. And I invite anyone to look into adding a pre-flight/post-flight script to the Mac OS X installer to "backup" the apple-provided 21.1 binary if installing into /usr/bin. Some people on versiontracker were complaining. -Steven > Hi Steven, > > Hey, that's some great debugging!! With your change above, I was able > to verify that an executable dumped on 10.2.2 before the security > update > can be run on one after the update was applied. Please install the > change when you can. > > Somewhat related, while working in unexmacosx.c, I notice the function > build_region_list. This function is left over from earlier versions of > the file and is unnecessary since dumping is now based on the > emacs_zone > regions. I'll remove it at some point. > > Andrew. > > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://mail.gnu.org/mailman/listinfo/emacs-devel