git: Bring in the "Port PUFFS from NetBSD/FreeBSD" GSoC 2011 project results.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Feb 4 17:30:10 PST 2012


commit ab5617b30755db534c8c52bfbb34e84b30e8d6c0
Author: Sascha Wildner <saw at online.de>
Date:   Sun Feb 5 02:29:51 2012 +0100

    Bring in the "Port PUFFS from NetBSD/FreeBSD" GSoC 2011 project results.
    
    With some additional stuff done by me (properly hooking into the build,
    add some manpages, and other missing bits here and there, nothing
    functional).
    
    What we get:
    
    * puffs(3) and refuse(3) libraries
    * puffs(4) and putter(9) kernel parts
    * mount_psshfs(8) utility
    
    Note that it still might crash or stop working, so it's still
    experimental. We're bringing it anyway because several people showed
    interest in continuing to work on it and so it doesn't rot outside
    our tree, gets at least built with world/kernel, etc.
    
    Submitted-by: Nick Prokharau <nickprok at gmail.com>

Summary of changes:
 etc/mtree/BSD.usr.dist                     |    4 +
 gnu/usr.bin/groff/tmac/mdoc.local          |    2 +
 lib/Makefile                               |    3 +-
 lib/libpuffs/Makefile                      |   16 +
 lib/libpuffs/TODO                          |   42 +
 lib/libpuffs/callcontext.c                 |  362 +++++++
 lib/libpuffs/creds.c                       |  254 +++++
 lib/libpuffs/dispatcher.c                  | 1103 ++++++++++++++++++++
 lib/libpuffs/flush.c                       |  130 +++
 lib/libpuffs/framebuf.c                    | 1066 ++++++++++++++++++++
 lib/libpuffs/hash.h                        |  103 ++
 lib/libpuffs/null.c                        |  654 ++++++++++++
 lib/libpuffs/opdump.c                      |  515 ++++++++++
 lib/libpuffs/paths.c                       |  293 ++++++
 lib/libpuffs/pnode.c                       |  167 +++
 lib/libpuffs/puffs.3                       |  563 +++++++++++
 lib/libpuffs/puffs.c                       | 1020 +++++++++++++++++++
 lib/libpuffs/puffs.h                       |  687 +++++++++++++
 lib/libpuffs/puffs_cc.3                    |   94 ++
 lib/libpuffs/puffs_cred.3                  |  167 +++
 lib/libpuffs/puffs_flush.3                 |  113 +++
 lib/libpuffs/puffs_framebuf.3              |  620 ++++++++++++
 lib/libpuffs/puffs_node.3                  |  101 ++
 lib/libpuffs/puffs_ops.3                   |  782 ++++++++++++++
 lib/libpuffs/puffs_path.3                  |  125 +++
 lib/libpuffs/puffs_priv.h                  |  258 +++++
 lib/libpuffs/puffsdump.h                   |   68 ++
 lib/libpuffs/requests.c                    |  234 +++++
 lib/libpuffs/subr.c                        |  326 ++++++
 lib/libpuffs/suspend.c                     |   45 +
 lib/librefuse/Makefile                     |   21 +
 lib/librefuse/TODO                         |   25 +
 lib/librefuse/fuse.h                       |  193 ++++
 lib/librefuse/fuse_opt.h                   |   70 ++
 lib/librefuse/refuse.3                     |  243 +++++
 lib/librefuse/refuse.c                     | 1437 ++++++++++++++++++++++++++
 lib/librefuse/refuse_opt.c                 |  366 +++++++
 share/examples/puffs/pnullfs/Makefile      |   17 +
 share/examples/puffs/pnullfs/pnullfs.c     |  121 +++
 share/man/man4/Makefile                    |    1 +
 share/man/man4/puffs.4                     |   61 ++
 share/man/man9/Makefile                    |    1 +
 share/man/man9/putter.9                    |   48 +
 share/mk/bsd.libnames.mk                   |    2 +
 sys/conf/files                             |    7 +
 sys/conf/options                           |    1 +
 sys/config/LINT                            |    2 +
 sys/config/LINT64                          |    2 +
 sys/dev/misc/Makefile                      |    2 +-
 sys/dev/misc/putter/Makefile               |    8 +
 sys/dev/misc/putter/putter.c               |  533 ++++++++++
 sys/dev/misc/putter/putter.h               |   40 +
 sys/dev/misc/putter/putter_sys.h           |   68 ++
 sys/vfs/Makefile                           |    2 +-
 sys/vfs/puffs/Makefile                     |    9 +
 sys/vfs/puffs/puffs_io.c                   |  589 +++++++++++
 sys/vfs/puffs/puffs_msgif.c                | 1201 ++++++++++++++++++++++
 sys/vfs/puffs/puffs_msgif.h                |  678 +++++++++++++
 sys/vfs/puffs/puffs_node.c                 |  460 +++++++++
 sys/vfs/puffs/puffs_subr.c                 |  189 ++++
 sys/vfs/puffs/puffs_sys.h                  |  329 ++++++
 sys/vfs/puffs/puffs_vfsops.c               |  822 +++++++++++++++
 sys/vfs/puffs/puffs_vnops.c                | 1510 ++++++++++++++++++++++++++++
 usr.sbin/Makefile                          |    1 +
 usr.sbin/puffs/Makefile                    |    3 +
 usr.sbin/puffs/Makefile.inc                |   12 +
 usr.sbin/puffs/mount_psshfs/Makefile       |    7 +
 usr.sbin/puffs/mount_psshfs/fs.c           |  276 +++++
 usr.sbin/puffs/mount_psshfs/mount_psshfs.8 |  205 ++++
 usr.sbin/puffs/mount_psshfs/node.c         |  889 ++++++++++++++++
 usr.sbin/puffs/mount_psshfs/psbuf.c        |  595 +++++++++++
 usr.sbin/puffs/mount_psshfs/psshfs.c       |  441 ++++++++
 usr.sbin/puffs/mount_psshfs/psshfs.h       |  248 +++++
 usr.sbin/puffs/mount_psshfs/sftp_proto.h   |  122 +++
 usr.sbin/puffs/mount_psshfs/subr.c         |  545 ++++++++++
 usr.sbin/puffs/mount_psshfs/util_compat.h  |   61 ++
 76 files changed, 22377 insertions(+), 3 deletions(-)
 create mode 100644 lib/libpuffs/Makefile
 create mode 100644 lib/libpuffs/TODO
 create mode 100644 lib/libpuffs/callcontext.c
 create mode 100644 lib/libpuffs/creds.c
 create mode 100644 lib/libpuffs/dispatcher.c
 create mode 100644 lib/libpuffs/flush.c
 create mode 100644 lib/libpuffs/framebuf.c
 create mode 100644 lib/libpuffs/hash.h
 create mode 100644 lib/libpuffs/null.c
 create mode 100644 lib/libpuffs/opdump.c
 create mode 100644 lib/libpuffs/paths.c
 create mode 100644 lib/libpuffs/pnode.c
 create mode 100644 lib/libpuffs/puffs.3
 create mode 100644 lib/libpuffs/puffs.c
 create mode 100644 lib/libpuffs/puffs.h
 create mode 100644 lib/libpuffs/puffs_cc.3
 create mode 100644 lib/libpuffs/puffs_cred.3
 create mode 100644 lib/libpuffs/puffs_flush.3
 create mode 100644 lib/libpuffs/puffs_framebuf.3
 create mode 100644 lib/libpuffs/puffs_node.3
 create mode 100644 lib/libpuffs/puffs_ops.3
 create mode 100644 lib/libpuffs/puffs_path.3
 create mode 100644 lib/libpuffs/puffs_priv.h
 create mode 100644 lib/libpuffs/puffsdump.h
 create mode 100644 lib/libpuffs/requests.c
 create mode 100644 lib/libpuffs/subr.c
 create mode 100644 lib/libpuffs/suspend.c
 create mode 100644 lib/librefuse/Makefile
 create mode 100644 lib/librefuse/TODO
 create mode 100644 lib/librefuse/fuse.h
 create mode 100644 lib/librefuse/fuse_opt.h
 create mode 100644 lib/librefuse/refuse.3
 create mode 100644 lib/librefuse/refuse.c
 create mode 100644 lib/librefuse/refuse_opt.c
 create mode 100644 share/examples/puffs/pnullfs/Makefile
 create mode 100644 share/examples/puffs/pnullfs/pnullfs.c
 create mode 100644 share/man/man4/puffs.4
 create mode 100644 share/man/man9/putter.9
 create mode 100644 sys/dev/misc/putter/Makefile
 create mode 100644 sys/dev/misc/putter/putter.c
 create mode 100644 sys/dev/misc/putter/putter.h
 create mode 100644 sys/dev/misc/putter/putter_sys.h
 create mode 100644 sys/vfs/puffs/Makefile
 create mode 100644 sys/vfs/puffs/puffs_io.c
 create mode 100644 sys/vfs/puffs/puffs_msgif.c
 create mode 100644 sys/vfs/puffs/puffs_msgif.h
 create mode 100644 sys/vfs/puffs/puffs_node.c
 create mode 100644 sys/vfs/puffs/puffs_subr.c
 create mode 100644 sys/vfs/puffs/puffs_sys.h
 create mode 100644 sys/vfs/puffs/puffs_vfsops.c
 create mode 100644 sys/vfs/puffs/puffs_vnops.c
 create mode 100644 usr.sbin/puffs/Makefile
 create mode 100644 usr.sbin/puffs/Makefile.inc
 create mode 100644 usr.sbin/puffs/mount_psshfs/Makefile
 create mode 100644 usr.sbin/puffs/mount_psshfs/fs.c
 create mode 100644 usr.sbin/puffs/mount_psshfs/mount_psshfs.8
 create mode 100644 usr.sbin/puffs/mount_psshfs/node.c
 create mode 100644 usr.sbin/puffs/mount_psshfs/psbuf.c
 create mode 100644 usr.sbin/puffs/mount_psshfs/psshfs.c
 create mode 100644 usr.sbin/puffs/mount_psshfs/psshfs.h
 create mode 100644 usr.sbin/puffs/mount_psshfs/sftp_proto.h
 create mode 100644 usr.sbin/puffs/mount_psshfs/subr.c
 create mode 100644 usr.sbin/puffs/mount_psshfs/util_compat.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ab5617b30755db534c8c52bfbb34e84b30e8d6c0


-- 
DragonFly BSD source repository





More information about the Commits mailing list