Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2008 08:13:48 -0400
From:      Greg Troxel <gdt@ir.bbn.com>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        freebsd-fs@FreeBSD.org, Julian Stacey <jhs@berklix.org>
Subject:   Re: CFS Cryptographic file system.
Message-ID:  <rmilk137xfn.fsf@fnord.ir.bbn.com>
In-Reply-To: <20080617222227.GA87804@k7.mavetju> (Edwin Groothuis's message of "Wed, 18 Jun 2008 08:22:27 %2B1000")
References:  <20080617222227.GA87804@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
I have been running cfs for a very long time (15 years?), most recently
on NetBSD, but I've run it on 4.2BSD, SunOS 4, Linux, FreeBSD (2.1 to
4.x), and NetBSD (1.3ish to present).  Your patch looks like it is
adjusting for rpcgen differences, which makes sense.  I've also had two
other problems, but my memory is a bit fuzzy.

  on sparc, I needed to change something to avoid miscompilation; it
  worked on i386.  It might be the patch appended.

  on i386, with gcc 4.1.2, it doesn't work (zero-length files?).  With
  binaries built with gcc 3.3 on NetBSD 3, it works (even running on
  NetBSD 4.0).


You may want to look at

  http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/security/cfs/

It might be time to roll a lot of these patches in and have a new
tarball released.





$NetBSD: patch-ae,v 1.1 2001/06/09 04:32:14 jlam Exp $

--- cfs_adm.c.orig	Mon Dec 25 01:41:30 1995
+++ cfs_adm.c	Fri Jun  8 21:14:35 2001
@@ -43,7 +43,7 @@
 cfsstat *
 admproc_attach_2(ap,rp)
      cfs_attachargs *ap;
-     SR *rp;
+     SR rp;
 {
 	static cfsstat ret;
 	int i;
@@ -156,7 +156,7 @@
 cfsstat *
 admproc_detach_2(ap,rp)
      cfs_detachargs *ap;
-     SR *rp;
+     SR rp;
 {
 	static cfsstat ret;
 	int i;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rmilk137xfn.fsf>