Re: passing array from kernel space to user space

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

 



--- taha siddiqi <tawushafeez@xxxxxxxxx> wrote:

> Hi
> 
> Same answer, "please explain the situation !!"
> 
> taha
> 
> Thanks.

The array I want to pass from kernel space to user
space contains pid_t elements.
First, I pass the length of the array from user space
to kernel space.
Then, I build the array with the given length filling
it with the pid of processes I need to monitor.
Finally, I've to pass this array of pids to the user
space.
I hope I've well explained the situation.
Thanks all.
Vincenzo Mallozzi.


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

--
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