NetBSD/sys/dev/sun
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
..
bt_subr.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
btreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
btvar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
bwtwo.c Undo previous as it broke things. 2003-08-25 17:50:22 +00:00
bwtworeg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
bwtwovar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
cgsix.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
cgsixreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
cgsixvar.h
cgthree.c Undo previous as it broke things. 2003-08-25 17:50:22 +00:00
cgthreereg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
cgthreevar.h
disklabel.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
event_var.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
event.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
fb.c Undo previous as it broke things. 2003-08-25 17:50:22 +00:00
fbio.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
fbvar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
files.sun wsmouse for ms@tty. 2003-05-30 23:34:06 +00:00
kbd_ms_ttyvar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
kbd_reg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
kbd_tables.c
kbd_tables.h
kbd_xlate.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
kbd_zs.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
kbd.c cleanup & uniform descriptor owner handling: 2003-09-21 19:16:48 +00:00
kbdsun.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
kbdsunvar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
kbdvar.h cc_callout does not belong to struct cons_channel, as it's only used 2003-08-27 01:37:38 +00:00
kbio.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
Makefile
ms_zs.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
ms.c cleanup & uniform descriptor owner handling: 2003-09-21 19:16:48 +00:00
msvar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
pfour_subr.c keep the caller's defaults instead of supplying our own. 2003-10-28 16:25:29 +00:00
pfourreg.h
sunkbd.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
sunms.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
vuid_event.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
wskbdmap_sun.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00