RE: Pid lkm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 May 2002, Hansen Martin wrote:

> In what context?
> To access userspace data, you must be in a process context. Fx. you cannot
> access userspace data from an interrupt.

You can access userland address space from kernel context *and* interrupt 
context or any context where you're allowed to access user virtual 
address space, the reason why you can't do copy_from_user from interrupt 
context is because it can sleep.

-- 
http://function.linuxpower.ca
		



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux