cvs commit: src/sys/emulation/dragonfly12 dfbsd12_stat.c src/sys/kern kern_checkpoint.c vfs_default.c vfs_mount.c vfs_subr.c vfs_syscalls.c src/sys/sys mount.h vnode.h src/sys/vfs/hammer hammer_inode.c hammer_mount.h hammer_vfsops.c ...
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Sep 17 14:45:16 PDT 2008
dillon 2008/09/17 14:44:25 PDT
DragonFly src repository
Modified files:
sys/emulation/dragonfly12 dfbsd12_stat.c
sys/kern kern_checkpoint.c vfs_default.c
vfs_mount.c vfs_subr.c vfs_syscalls.c
sys/sys mount.h vnode.h
sys/vfs/hammer hammer_inode.c hammer_mount.h
hammer_vfsops.c
sys/vfs/gnu/ext2fs ext2_vfsops.c
sys/vfs/hpfs hpfs_vfsops.c
sys/vfs/isofs/cd9660 cd9660_vfsops.c
sys/vfs/msdosfs msdosfs_vfsops.c
sys/vfs/nfs nfs.h nfs_serv.c nfs_subs.c nfsm_subs.h
sys/vfs/ntfs ntfs_vfsops.c
sys/vfs/nullfs null.h null_vfsops.c null_vnops.c
sys/vfs/udf udf_vfsops.c
sys/vfs/ufs ffs_extern.h ffs_vfsops.c ufs_extern.h
ufs_vfsops.c
Log:
* Implement the ability to export NULLFS mounts via NFS.
* Enforce PFS isolation when exporting a HAMMER PFS via a NULLFS mount.
NOTE: Exporting anything other then HAMMER PFS root's via nullfs does
NOT protect the parent of the exported directory from being accessed via NFS.
Generally speaking this feature is implemented by giving each nullfs mount
a synthesized fsid based on what is being mounted and implementing the
NFS export infrastructure in the nullfs code instead of just bypassing those
functions to the underyling VFS.
Revision Changes Path
1.4 +1 -1 src/sys/emulation/dragonfly12/dfbsd12_stat.c
1.20 +1 -1 src/sys/kern/kern_checkpoint.c
1.54 +2 -1 src/sys/kern/vfs_default.c
1.37 +20 -0 src/sys/kern/vfs_mount.c
1.118 +2 -0 src/sys/kern/vfs_subr.c
1.134 +22 -9 src/sys/kern/vfs_syscalls.c
1.47 +5 -4 src/sys/sys/mount.h
1.83 +1 -1 src/sys/sys/vnode.h
1.111 +8 -4 src/sys/vfs/hammer/hammer_inode.c
1.11 +2 -2 src/sys/vfs/hammer/hammer_mount.h
1.71 +11 -4 src/sys/vfs/hammer/hammer_vfsops.c
1.57 +4 -2 src/sys/vfs/gnu/ext2fs/ext2_vfsops.c
1.43 +6 -5 src/sys/vfs/hpfs/hpfs_vfsops.c
1.46 +4 -2 src/sys/vfs/isofs/cd9660/cd9660_vfsops.c
1.52 +4 -3 src/sys/vfs/msdosfs/msdosfs_vfsops.c
1.21 +3 -3 src/sys/vfs/nfs/nfs.h
1.48 +143 -133 src/sys/vfs/nfs/nfs_serv.c
1.48 +9 -6 src/sys/vfs/nfs/nfs_subs.c
1.10 +9 -9 src/sys/vfs/nfs/nfsm_subs.h
1.48 +4 -3 src/sys/vfs/ntfs/ntfs_vfsops.c
1.9 +4 -0 src/sys/vfs/nullfs/null.h
1.31 +78 -4 src/sys/vfs/nullfs/null_vfsops.c
1.30 +31 -1 src/sys/vfs/nullfs/null_vnops.c
1.28 +4 -2 src/sys/vfs/udf/udf_vfsops.c
1.15 +2 -1 src/sys/vfs/ufs/ffs_extern.h
1.59 +3 -2 src/sys/vfs/ufs/ffs_vfsops.c
1.16 +2 -1 src/sys/vfs/ufs/ufs_extern.h
1.17 +2 -1 src/sys/vfs/ufs/ufs_vfsops.c
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/dragonfly12/dfbsd12_stat.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_checkpoint.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_default.c.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_mount.c.diff?r1=1.36&r2=1.37&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.117&r2=1.118&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.133&r2=1.134&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mount.h.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vnode.h.diff?r1=1.82&r2=1.83&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.110&r2=1.111&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_mount.h.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vfsops.c.diff?r1=1.70&r2=1.71&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_vfsops.c.diff?r1=1.56&r2=1.57&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs_vfsops.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_vfsops.c.diff?r1=1.45&r2=1.46&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vfsops.c.diff?r1=1.51&r2=1.52&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs.h.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_serv.c.diff?r1=1.47&r2=1.48&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_subs.c.diff?r1=1.47&r2=1.48&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfsm_subs.h.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_vfsops.c.diff?r1=1.47&r2=1.48&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nullfs/null.h.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nullfs/null_vfsops.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nullfs/null_vnops.c.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/udf/udf_vfsops.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_extern.h.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_vfsops.c.diff?r1=1.58&r2=1.59&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_extern.h.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vfsops.c.diff?r1=1.16&r2=1.17&f=u
More information about the Commits
mailing list