minix/kernel
Tomas Hruby 5e57818431 copy_msg_from_user() and copy_msg_to_user()
- copies a mesage from/to userspace without need of translating
  addresses

- the assumption is that the address space is installed, i.e. ldt and
  cr3 are loaded correctly

- if a pagefault or a general protection occurs while copying from
  userland to kernel (or vice versa) and error is returned which gives
  the caller a chance to respond in a proper way

- error happens _only_ because of a wrong user pointer if the function
  is used correctly

- if the prerequisites of the function do no hold, the function will
  most likely fail as the user address becomes random
2010-02-09 15:15:45 +00:00
..
arch/i386 copy_msg_from_user() and copy_msg_to_user() 2010-02-09 15:15:45 +00:00
system Kernel: fix sys_irqctl(IRQ_RMPOLICY) 2010-02-09 08:07:47 +00:00
clock.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
clock.h Clock task split 2009-11-06 09:04:15 +00:00
config.h Removed unused symbols. 2010-01-25 18:13:48 +00:00
const.h Removed unused symbols. 2010-01-25 18:13:48 +00:00
debug.c All macros defining rts flags are prefixed with RTS_ 2009-11-10 09:11:13 +00:00
debug.h Killing Minix by typing Q on serial console 2010-01-14 09:46:16 +00:00
glo.h Removed useless global variable sys_call_code 2010-02-03 18:17:01 +00:00
interrupt.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
ipc.h All macros defining rts flags are prefixed with RTS_ 2009-11-10 09:11:13 +00:00
kernel.h NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00
main.c System task initialization moved to main() 2010-02-09 15:12:20 +00:00
Makefile NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00
priv.h Initialization protocol for system services. 2010-01-08 01:20:42 +00:00
proc.c Early address space switch 2010-02-09 15:13:52 +00:00
proc.h Removed unused symbols. 2010-01-25 18:13:48 +00:00
profile.c Removed unused symbols. 2010-01-22 22:01:08 +00:00
profile.h cprofile not conditional 2009-01-09 21:44:52 +00:00
proto.h copy_msg_from_user() and copy_msg_to_user() 2010-02-09 15:15:45 +00:00
start.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
system.c System task initialization moved to main() 2010-02-09 15:12:20 +00:00
system.h This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
table.c - Introduce support for sticky bit. 2009-12-20 20:27:14 +00:00
type.h Rewrite of boot process 2009-12-11 00:08:19 +00:00
utility.c Fixed some type inconsistencies in the kernel. 2010-01-26 12:26:06 +00:00
vm.h Fixed a typing bug. 2010-01-06 08:23:14 +00:00
watchdog.c NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00
watchdog.h NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00