From owner-freebsd-questions Tue Feb 28 17:49:19 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA28102 for questions-outgoing; Tue, 28 Feb 1995 17:49:19 -0800 Received: from amalfi.trl.OZ.AU (amalfi.trl.OZ.AU [137.147.99.99]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id RAA28092 for ; Tue, 28 Feb 1995 17:49:08 -0800 Received: from orca1.vic.design.telecom.com.au ([145.136.55.131]) by amalfi.trl.OZ.AU (8.6.10/8.6.9) with SMTP id MAA06636; Wed, 1 Mar 1995 12:31:59 +1100 Received: from netbsd08.dn.itg.telecom.com.au by orca1.vic.design.telecom.com.au with SMTP (1.37.109.4/16.2) id AA00378; Wed, 1 Mar 95 12:39:02 +1100 Received: from netbsd08.dn.itg.telecom.com.au (netbsd08.dn.itg.telecom.com.au [144.139.63.32]) by netbsd08.dn.itg.telecom.com.au (8.6.8/8.6.6) with SMTP id JAA20272; Wed, 1 Mar 1995 09:59:13 +0800 Date: Wed, 1 Mar 1995 09:59:13 +0800 (WST) From: Terry Dwyer To: Terry Lambert Cc: Lars Koeller , yergeau@gloworm.Stanford.EDU, freebsd-questions@freefall.cdrom.com Subject: Re: netscape on 1.1.5? In-Reply-To: <9502281651.AA07691@cs.weber.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk On Tue, 28 Feb 1995, Terry Lambert wrote: > > > > And here are the patches to 1.1.x to make netscape run on it: > > > > ========================================================================= > > > > ] Brian Ellis (zellis@panix.com) writes: [...] > > Brian also wrote another patch for lstat. Slight correction... The lstat patch was from wilko@yedi.iaf.nl (Wilko Bulte), and is the third of the patches needed for Netscape under 1.1.5.1R > > Apparently this is needed to enable the use of the file: directive. > > It is in the news group archives on minnie. Because this is a small patch I'll post it here. Apologies for the CC list, I don't know who originally requested it -------------Wilko's patch for lstat----------------------------- Newsgroups: comp.os.386bsd.development Path: netbsd08.dn.itg.telecom.com.au!nodecg.ncc.telecomwa.oz.au!news.uwa.edu.au!munnari.oz.au!hpg30a.csc.cuhk.hk!news.hk.net!howland.reston.ans.net!news.sprintlink.net!EU.net!sun4nl!news.iaf.nl!iafnl.iaf.nl!yedi!wilko From: wilko@yedi.iaf.nl (Wilko Bulte) Subject: Additional patch for FreeBSD1.1.5 for NetScape users Organization: Private FreeBSD site - Arnhem - The Netherlands Message-ID: Date: Thu, 12 Jan 1995 19:51:01 GMT Lines: 40 I found out that apart from the patch that was posted some time ago by Brian Ellis there is another syscall missing which is used by Netscape. This is the lstat call which has another # in FreeBSD 2.0 (190 to be exactly). The problem manifests itself when an attempt is made to open a local document (from the file pulldown). Netscape crashes with a badsyscall trap. Along the lines of the patches made by Brian, I made a little patch which solves the problem for me: in /sys/kern/syscalls.master change the line for syscall # 190 into: 190 STD 2 olstat in /sys/kern/vfs_syscalls.c add below the lstat() function the following: int olstat(p, uap, retval) struct proc *p; register struct lstat_args *uap; int *retval; { return lstat(p, uap, retval); } in /sys/kern do: make init_sysent.c in /sys/compile/YOURMACHINE do: rm kern*.o make Put the newly built kernel into / and reboot Wilko -------------End of Wilko's patch for lstat----------------------------- _-_|\ Terry Dwyer E-Mail: tdwyer@netbsd08.dn.itg.telecom.com.au / \ System Administrator Phone: +61 9 491 5161 Fax: +61 9 221 2631 *_.^\_/ Telecom Australia Telstra Corporation MIME capable mailer v Perth WA ( I do not speak for Telstra or Telecom )