Robert Love <rml@xxxxxxxxxx> writes: > On Fri, 2004-08-20 at 11:05 +0530, Nilanjan Roychowdhury wrote: > >> >>> if I do not call daemonize() then also I can't access any user space data ???? > > daemonize() does not change that in any way, no. The original poster could look at access_process_vm in kernel/ptrace.c to get a clearer idea of how kernel code can safely relate to the virtual pages of some arbitrary process. Each user process can have a different address space, with its own page tables. Mel Gorman's thesis could help. -- Ed L Cashin <ecashin@xxxxxxxxxx> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/