LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-01-2011, 11:54 AM   #1
Jae-Yong Yoo
LQ Newbie
 
Registered: Jul 2011
Posts: 20

Rep: Reputation: Disabled
Where is "sys_ioctl" implemented?


Hi,

I was touring through the Linux kernel source code (2.6.32.44) and I found that the user-space "ioctl" is mapped to kernel-space function "sys_ioctl".
I was searching the kernel source code but I can not find the body of that function.
Also, lxr.linux.no does not show the sys_ioctl function body although I see many functions use that one.

Any help?


Jae-YOng
 
Old 10-01-2011, 12:13 PM   #2
Jae-Yong Yoo
LQ Newbie
 
Registered: Jul 2011
Posts: 20

Original Poster
Rep: Reputation: Disabled
I just found out that when I call ioctl, it calls do_vfs_ioctl (at fs/ioctl.c in liunx kernel source code) but still is a mistery how it is called.
 
Old 08-21-2019, 02:53 AM   #3
Beverly_h
LQ Newbie
 
Registered: May 2016
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by Jae-Yong Yoo View Post
I just found out that when I call ioctl, it calls do_vfs_ioctl (at fs/ioctl.c in liunx kernel source code) but still is a mistery how it is called.
SYSCALL_DEFINE3() in fs/ioctl.c calls do_vfs_ioctl(). I am using linux 3.13.0.
 
  


Reply



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
[SOLVED] When insmodding I get a "function not implemented" message eantoranz Programming 7 04-15-2011 09:36 PM
A question on the VI Editor: How is the "%" command implemented ? rmarathe Linux - Newbie 1 05-04-2009 06:05 AM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
Error Message "modprobe: QM_MODULES: Function not implemented" Gedwimor Slackware 3 03-07-2006 08:18 PM
"Function not implemented" error in call to "sem_open()" Krishnendu8 Linux - Newbie 1 06-07-2003 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 PM.

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
Open Source Consulting | Domain Registration