LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2015, 02:46 AM   #1
kernel_baba
LQ Newbie
 
Registered: May 2015
Posts: 4

Rep: Reputation: Disabled
Unhappy communication between user space and kernel module


hi
I have two code of user.c and kernel.c , i have compiled new kernel in my system , but i don't know how to compile these code.
may i use any IDE or GCC.
 
Old 05-27-2015, 05:05 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Communication between userspace and kernel is via syscalls and ioctls.

If you want to compile kernel module then read kernel-module programming howto from TLDP.

Also read LDD (Linux device driver programming) book. Latest you have to pay. But old (a version before) version is available for free from web.
 
1 members found this post helpful.
Old 05-30-2015, 05:46 PM   #3
kernel_baba
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by veerain View Post
Communication between userspace and kernel is via syscalls and ioctls.

If you want to compile kernel module then read kernel-module programming howto from TLDP.

Also read LDD (Linux device driver programming) book. Latest you have to pay. But old (a version before) version is available for free from web.
but i want to establish connection via netlink socket between user space and kernel space then i want to compile , but i don't know how will i compile my codes.. ?
 
Old 05-30-2015, 11:35 PM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Read this page on netlink.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel to user space communication. toravig Linux - Kernel 3 06-09-2011 08:40 AM
Kernel to user space communication Thangaraj Linux - Networking 0 07-24-2009 02:02 AM
Kernel-User space communication bonzi200x Programming 3 02-27-2009 09:17 AM
communication between user space and kernel space bhk Linux - General 2 06-25-2008 06:16 AM
kernel user space communication mbm Linux - Kernel 1 10-17-2007 09:21 PM


All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration