CFS Cryptographic file system.

Greg Troxel gdt at ir.bbn.com
Wed Jun 18 12:29:15 UTC 2008


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;


More information about the freebsd-fs mailing list