NetBSD/sys/dev/tc
chs e07f0b9362 eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed.  however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors.  most of
the callers of uvm_useracc() make the above incorrect assumption.  the
rest are all misguided optimizations, which optimize for the case
where an operation will fail.  we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors.  since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
2003-11-13 03:09:28 +00:00
..
asc_tc.c
asc_tcds.c
ascvar.h
bba.c
cfb.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
devlist2h.awk
files.tc
if_fta.c
if_le_ioasic.c
if_le_tc.c
if_levar.h
ioasic_subr.c Use strlcpy() rather than strncpy() + `\0' termination. 2003-09-27 17:42:11 +00:00
ioasicreg.h
ioasicvar.h
Makefile
Makefile.tcdevs
mfb.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
nvrreg.h
px.c uninitialized variables 2003-10-27 07:07:34 +00:00
pxg.c uninitialized variables 2003-10-27 07:07:34 +00:00
pxgvar.h
sfb.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
sfbplus.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
sfbreg.h
stic.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
sticio.h
sticreg.h
sticvar.h eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
tc.c
tcdevs add some missing. uncomment some. alphabetize. 2003-10-25 16:24:30 +00:00
tcdevs_data.h regen 2003-10-25 16:24:44 +00:00
tcdevs.h regen 2003-10-25 16:24:44 +00:00
tcds.c
tcdsreg.h
tcdsvar.h
tcreg.h
tcvar.h
tfb.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
xcfb.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
zs_ioasic.c
zs_ioasicvar.h
zskbd.c
zsms.c