Source-Changes archive

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

CVS commit: [netbsd-4] src/sys/dev



Module Name:    src
Committed By:   bouyer
Date:           Sun Jul  1 17:09:26 UTC 2007

Modified Files:
        src/sys/dev [netbsd-4]: ccd.c cgd.c dksubr.c dkvar.h
        src/sys/dev/raidframe [netbsd-4]: rf_copyback.c rf_disks.c
            rf_reconstruct.c

Log Message:
Pull up following revision(s) (requested by cube in ticket #748):
        sys/dev/dksubr.c: revision 1.29
        sys/dev/ccd.c: revision 1.120
        sys/dev/raidframe/rf_disks.c: revision 1.66
        sys/dev/raidframe/rf_reconstruct.c: revision 1.96
        sys/dev/cgd.c: revision 1.45
        sys/dev/dkvar.h: revision 1.11
        sys/dev/raidframe/rf_copyback.c: revision 1.38
Change dk_lookup() to accept an additional argument of the type enum uio_seg
that tells whether the given path is in user space or kernel space, so it
can tell NDINIT().
While the raidframe calls were ok, both ccd(4) and cgd(4) were passing
pointers to user space data, which leads to strange error on i386, as
reported by Jukka Salmi on current-users.


To generate a diff of this commit:
cvs rdiff -r1.116 -r1.116.2.1 src/sys/dev/ccd.c
cvs rdiff -r1.42 -r1.42.2.1 src/sys/dev/cgd.c
cvs rdiff -r1.27 -r1.27.2.1 src/sys/dev/dksubr.c
cvs rdiff -r1.9 -r1.9.24.1 src/sys/dev/dkvar.h
cvs rdiff -r1.37 -r1.37.2.1 src/sys/dev/raidframe/rf_copyback.c
cvs rdiff -r1.64 -r1.64.2.1 src/sys/dev/raidframe/rf_disks.c
cvs rdiff -r1.95 -r1.95.2.1 src/sys/dev/raidframe/rf_reconstruct.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