On 7/2/07, Nicolas Cormier <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to map some data allocated in kernel to a user process
(via a syscall).
I need the proc's vmspace, but the value of p_vmspace of the input
proc argument is NULL ...
How can I get a valid vmspace ?

Thanks !

Ok, syscall function passed a proc* as arguments, I don't know where
this proc* come from but it works with:
struct thread *td = curthread;
p = td->td_proc;
--
Nicolas Cormier
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to