Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src

Module Name:    src
Committed By:   dholland
Date:           Fri Nov 19 06:44:48 UTC 2010

Modified Files:
        src/distrib/sets/lists/comp: mi
        src/external/cddl/osnet/sys/sys: vnode.h
        src/share/man/man9: Makefile namei.9
        src/sys/compat/common: compat_util.c vfs_syscalls_30.c
        src/sys/compat/darwin: darwin_attr.c
        src/sys/compat/ibcs2: ibcs2_fcntl.c
        src/sys/compat/irix: irix_mount.c
        src/sys/compat/linux/common: linux_file.c
        src/sys/compat/netbsd32: netbsd32_netbsd.c
        src/sys/compat/sunos32: sunos32_misc.c
        src/sys/compat/svr4: svr4_misc.c svr4_stream.c
        src/sys/compat/svr4_32: svr4_32_misc.c
        src/sys/dev: ccd.c cgd.c dksubr.c dkvar.h firmload.c fss.c kloader.c
        src/sys/dev/dm: dm_pdev.c
        src/sys/dev/raidframe: rf_copyback.c rf_disks.c rf_reconstruct.c
        src/sys/fs/efs: efs_vfsops.c
        src/sys/fs/ptyfs: ptyfs_subr.c
        src/sys/fs/unionfs: unionfs_vfsops.c
        src/sys/kern: exec_macho.c exec_script.c kern_acct.c kern_core.c
            kern_exec.c kern_ktrace.c kern_module_vfs.c subr_exec_fd.c
            subr_kobj_vfs.c tty.c tty_bsdpty.c uipc_usrreq.c vfs_lookup.c
            vfs_syscalls.c vfs_vnops.c vfs_xattr.c
        src/sys/miscfs/nullfs: null_vfsops.c
        src/sys/miscfs/umapfs: umap_vfsops.c
        src/sys/nfs: nfs_export.c nfs_srvsubs.c
        src/sys/rump/librump/rumpvfs: rump_vfs.c
        src/sys/sys: exec.h namei.src verified_exec.h
        src/sys/ufs/ufs: ufs_quota.c
        src/sys/uvm: uvm_swap.c
Added Files:
        src/share/man/man9: pathbuf.9

Log Message:
Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.

To generate a diff of this commit:
cvs rdiff -u -r1.1523 -r1.1524 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.5 -r1.6 src/external/cddl/osnet/sys/sys/vnode.h
cvs rdiff -u -r1.342 -r1.343 src/share/man/man9/Makefile
cvs rdiff -u -r1.24 -r1.25 src/share/man/man9/namei.9
cvs rdiff -u -r0 -r1.1 src/share/man/man9/pathbuf.9
cvs rdiff -u -r1.43 -r1.44 src/sys/compat/common/compat_util.c
cvs rdiff -u -r1.32 -r1.33 src/sys/compat/common/vfs_syscalls_30.c
cvs rdiff -u -r1.53 -r1.54 src/sys/compat/common/vfs_syscalls_43.c
cvs rdiff -u -r1.26 -r1.27 src/sys/compat/darwin/darwin_attr.c
cvs rdiff -u -r1.34 -r1.35 src/sys/compat/ibcs2/ibcs2_fcntl.c
cvs rdiff -u -r1.23 -r1.24 src/sys/compat/irix/irix_mount.c
cvs rdiff -u -r1.100 -r1.101 src/sys/compat/linux/common/linux_file.c
cvs rdiff -u -r1.167 -r1.168 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.72 -r1.73 src/sys/compat/sunos32/sunos32_misc.c
cvs rdiff -u -r1.151 -r1.152 src/sys/compat/svr4/svr4_misc.c
cvs rdiff -u -r1.77 -r1.78 src/sys/compat/svr4/svr4_stream.c
cvs rdiff -u -r1.70 -r1.71 src/sys/compat/svr4_32/svr4_32_misc.c
cvs rdiff -u -r1.135 -r1.136 src/sys/dev/ccd.c
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/cgd.c src/sys/dev/fss.c
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/dksubr.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/dkvar.h src/sys/dev/firmload.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/kloader.c
cvs rdiff -u -r1.213 -r1.214 src/sys/dev/vnd.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/dm/dm_pdev.c
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/raidframe/rf_copyback.c
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/raidframe/rf_disks.c
cvs rdiff -u -r1.109 -r1.110 src/sys/dev/raidframe/rf_reconstruct.c
cvs rdiff -u -r1.20 -r1.21 src/sys/fs/efs/efs_vfsops.c
cvs rdiff -u -r1.21 -r1.22 src/sys/fs/ptyfs/ptyfs_subr.c
cvs rdiff -u -r1.7 -r1.8 src/sys/fs/unionfs/unionfs_vfsops.c
cvs rdiff -u -r1.43 -r1.44 src/sys/kern/exec_macho.c
cvs rdiff -u -r1.65 -r1.66 src/sys/kern/exec_script.c
cvs rdiff -u -r1.89 -r1.90 src/sys/kern/kern_acct.c
cvs rdiff -u -r1.16 -r1.17 src/sys/kern/kern_core.c src/sys/kern/tty_bsdpty.c
cvs rdiff -u -r1.300 -r1.301 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.154 -r1.155 src/sys/kern/kern_ktrace.c
cvs rdiff -u -r1.8 -r1.9 src/sys/kern/kern_module_vfs.c
cvs rdiff -u -r1.3 -r1.4 src/sys/kern/subr_exec_fd.c \
cvs rdiff -u -r1.238 -r1.239 src/sys/kern/tty.c
cvs rdiff -u -r1.132 -r1.133 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.122 -r1.123 src/sys/kern/vfs_lookup.c
cvs rdiff -u -r1.408 -r1.409 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.179 -r1.180 src/sys/kern/vfs_vnops.c
cvs rdiff -u -r1.22 -r1.23 src/sys/kern/vfs_xattr.c
cvs rdiff -u -r1.82 -r1.83 src/sys/miscfs/nullfs/null_vfsops.c
cvs rdiff -u -r1.85 -r1.86 src/sys/miscfs/umapfs/umap_vfsops.c
cvs rdiff -u -r1.48 -r1.49 src/sys/nfs/nfs_export.c
cvs rdiff -u -r1.6 -r1.7 src/sys/nfs/nfs_srvsubs.c
cvs rdiff -u -r1.58 -r1.59 src/sys/rump/librump/rumpvfs/rump_vfs.c
cvs rdiff -u -r1.131 -r1.132 src/sys/sys/exec.h
cvs rdiff -u -r1.14 -r1.15 src/sys/sys/namei.src
cvs rdiff -u -r1.57 -r1.58 src/sys/sys/verified_exec.h
cvs rdiff -u -r1.67 -r1.68 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.152 -r1.153 src/sys/uvm/uvm_swap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index