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
..
2010-01-26 10:59:01 +00:00
2009-11-06 09:04:15 +00:00
2010-01-25 18:13:48 +00:00
2010-01-25 18:13:48 +00:00
2010-02-09 15:13:52 +00:00
2010-01-25 18:13:48 +00:00
2010-01-22 22:01:08 +00:00
2009-01-09 21:44:52 +00:00
2010-01-26 10:59:01 +00:00
2009-12-20 20:27:14 +00:00
2009-12-11 00:08:19 +00:00
2010-01-06 08:23:14 +00:00