From owner-freebsd-current Fri Dec 8 22:03:31 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27712 for current-outgoing; Fri, 8 Dec 1995 22:03:31 -0800 (PST) Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA27704 for ; Fri, 8 Dec 1995 22:03:20 -0800 (PST) Received: (from peter@localhost) by jhome.DIALix.COM (8.7.3/8.7.3) id OAA02270; Sat, 9 Dec 1995 14:02:54 +0800 (WST) Date: Sat, 9 Dec 1995 14:02:53 +0800 (WST) From: Peter Wemm To: current@freebsd.org Subject: Warning: You need to recompile some stuff after this -current!! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk I've just made some changes to the kernel exec() system to support BSD/OS2.0 binaries. This has moved the location of the ps_strings structure (normally right near the very top of the user process stack) and changed the definition of the entries a little. The end result, is that you need to recompile "src/lib/libkvm" after updating the kernel source, and recompile or relink "src/bin/ps" (it includes a static copy of the old libkvm library). The 'w' and 'top' commands should not be affected, as they will pick up the new libkvm once it's installed. It is also *very* important that you remember to recompile the linux and ibcs2 LKM's if you are using them. You may get unfortunate results if you forget. Also, if you are running the sendmail-8.7 that was recently imported to -current, you will want to recompile that too, as it directly manipulates the ps_strings structure to change it's argument lists on the 'ps' output. With a bit of luck, we should now be able to run BSD/OS2.0 binaries. Static binaries should work fine. Their dynamically linked binaries would require you to aquire the /usr/lib/shlib.map and /usr/lib/lib*_s files from your licensed BSD/OS box, of course.. I've not tested shared library binaries, but there is no obvious reason why they would not work that I'm aware of. -Peter