Re: sending pid of user process to kernel

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

 



Hi....

On Fri, Aug 14, 2009 at 9:48 PM, krushnaal pai<krisonearth@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at 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