Hi....

On Fri, Aug 14, 2009 at 9:48 PM, krushnaal pai<[email protected]> wrote:
> i want to send the pid of a user process from user space to kernel in the
> actual read function
> without using sockets. how to?
>

Do you mean during operation something like read syscall? And which
pid that becomes your concern, the caller's pid? if so, then maybe
simply check current->pid (hopefully this is still true 'til current
kernel version)

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to