Return to BSD News archive
Newsgroups: comp.os.386bsd.development Path: sserve!newshost.anu.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: <D2B5t1.7K@yedi.iaf.nl> 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