RE: Exchanging information between kernel space and user space

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

 



Hi,
 
If you want to transfer the data between user and kernel space you can use the functions
 
copy_to_user
copy_from_user
copy_to_fs
copy_from_fs
 
If you want to execute some functions in the device driver other that default functions provided in fops structure you can use
IOCTL functions and calls which you can call from user space
 
HTS
 
Aniruddha  
 -----Original Message-----
From: Anjaneyulu [mailto:anjaneyulu@mistralsoftware.com]
Sent: Sunday, October 06, 2002 6:21 PM
To: kernelnewbies@nl.linux.org
Subject: Exchanging information between kernel space and user space

Hi,
I would like to know the different ways of exchanging information between kernel space and user space.
 
Thanks in advance.
 
Regards,
Anj

[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