Bugtraq mailing list archives

Re: RPC protocol problem? [patch for SGI systems]


From: steve () ecf toronto edu (Steve Kotsopoulos)
Date: Tue, 23 Aug 1994 23:31:19 -0400


It's available as ftp://coast.cs.purdue.edu/pub/tools/unix/nfsbug

I made some small changes to compile it under IRIX 5.2.

Here's a patch (context diff format) if anyone wants it:

*** nfsbug.c.save       Tue Aug 23 22:50:26 1994
--- nfsbug.c    Tue Aug 23 22:59:49 1994
***************
*** 31,37 ****
--- 31,42 ----
  #include <sys/vfs.h>
  #include <sys/sysmacros.h>
  #ifdef SVR4
+ #ifdef sgi
+ #include <sys/vnode.h>
+ #include <sys/fs/efs_ino.h>
+ #else
  #include <sys/inode.h>
+ #endif
  #else
  #ifndef HPUX
  #include <ufs/inode.h>
*** Makefile.save       Tue Aug 23 22:50:25 1994
--- Makefile    Tue Aug 23 22:52:48 1994
***************
*** 1,7 ****
  CC=cc
! #CFLAGS=-g -I. -DSVR4
  #LIBS=-lsocket -lnsl -L/usr/ucblib -lucb -lresolv
! CFLAGS=-ggdb -I.
  LIBS=
  NFSBUG_SOURCES=mount_clnt.c mount_xdr.c nfs_prot_clnt.c nfs_prot_xdr.c nfsbug.c
  NFSBUG_OBJECTS=mount_clnt.o mount_xdr.o nfs_prot_clnt.o nfs_prot_xdr.o nfsbug.o
--- 1,7 ----
  CC=cc
! CFLAGS=-g -I. -DSVR4
  #LIBS=-lsocket -lnsl -L/usr/ucblib -lucb -lresolv
! #CFLAGS=-I.
  LIBS=
  NFSBUG_SOURCES=mount_clnt.c mount_xdr.c nfs_prot_clnt.c nfs_prot_xdr.c nfsbug.c
  NFSBUG_OBJECTS=mount_clnt.o mount_xdr.o nfs_prot_clnt.o nfs_prot_xdr.o nfsbug.o



Current thread: