NetBSD/sys/compat/mach
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
..
arch/powerpc Use ${HOST_SH} instead of `sh'. 2003-10-26 07:25:33 +00:00
files.mach First work on notifications. Not really working for now. 2003-03-29 11:04:08 +00:00
mach_bootstrap.c Fix a buffer overflow that was leading to various kernel crashes 2003-08-26 21:52:18 +00:00
mach_bootstrap.h Added support for exchange of Mach messages between processes. 2002-12-17 18:42:54 +00:00
mach_clock.c Do a preliminary switchover of the mach code to lwp's. It compiles now 2003-01-21 04:06:06 +00:00
mach_clock.h - When MACH_MSG_RCV_LARGE is set, we must return a message with just a header 2002-12-27 19:57:47 +00:00
mach_errno.c A first attempt at providing access to our device tree through the IOKit. 2003-02-09 22:13:46 +00:00
mach_errno.h Introduced IOKit driver methods. Moved back into Mach some IOKit driver 2003-02-20 22:39:42 +00:00
mach_exec.c don't abuse the native sigcode. 2003-09-10 16:44:56 +00:00
mach_exec.h Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
mach_host.c - WindowServer wants io_master_port? Give it a port! 2003-02-02 19:06:31 +00:00
mach_host.h Implement mach_thread_get_state. 2003-11-11 17:31:59 +00:00
mach_iokit.c Remove all our real devices from the IOKit registry, as they won't be 2003-11-01 18:41:25 +00:00
mach_iokit.h Remove all our real devices from the IOKit registry, as they won't be 2003-11-01 18:41:25 +00:00
mach_message.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
mach_message.h Added a IOFBSETCOLORCONVERTTABLE method in ioframebuffer driver. 2003-07-01 19:15:47 +00:00
mach_misc.c First work on notifications. Not really working for now. 2003-03-29 11:04:08 +00:00
mach_namemap.c Added mach_thread_set_state 2003-11-11 18:12:40 +00:00
mach_notify.c Fix a few bugs and get a better notification support (A sample program 2003-04-05 19:27:51 +00:00
mach_notify.h Fix a few bugs and get a better notification support (A sample program 2003-04-05 19:27:51 +00:00
mach_port.c Typo 2003-11-09 23:05:29 +00:00
mach_port.h mach_port_get_attributes (incomplete and untested) 2003-11-03 22:17:42 +00:00
mach_semaphore.c Do a preliminary switchover of the mach code to lwp's. It compiles now 2003-01-21 04:06:06 +00:00
mach_semaphore.h Added support for exchange of Mach messages between processes. 2002-12-17 18:42:54 +00:00
mach_syscall.h Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
mach_syscallargs.h Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
mach_syscalls.c Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
mach_sysent.c Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
mach_task.c mach_msg_ool_ports_descriptor_t describe a memory region containing 2003-11-12 00:00:28 +00:00
mach_task.h First attempt with task_suspend/task_resume, but we hit some bugs somewhere 2003-04-06 17:58:49 +00:00
mach_thread.c Added mach_thread_set_state 2003-11-11 18:12:40 +00:00
mach_thread.h Added mach_thread_set_state 2003-11-11 18:12:40 +00:00
mach_types.h Added vm_region_64 and thread_info 2003-09-06 23:52:25 +00:00
mach_vm.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
mach_vm.h There is some padding on the reply packet of vm_make_memory_entry too. 2003-11-09 23:17:15 +00:00
Makefile Use ${HOST_SH} instead of `sh'. 2003-10-26 07:25:33 +00:00
syscalls.conf
syscalls.master Merge the nathanw_sa branch. 2003-01-18 08:18:50 +00:00