Sponsored Content
Operating Systems Linux How to implement a system call in linux? Post 302378011 by sunnyhay on Sunday 6th of December 2009 11:00:58 AM
Old 12-06-2009
Quote:
Originally Posted by fpmurphy
Did you create a Makefile for your new subdirectory?
No, I just modified the Makefile under source/ folder as the 5th step showed.
 

9 More Discussions You Might Find Interesting

1. Linux

Making Socket System Call From Linux Kernel Module?

Hi Everyone! How can we make a socket() system call from a linux module executing in kernel space? If any one knows, kindly tell me. It will be great. I want to use the socket interface in linux kernel space for sending raw packets over the network. Hamayun (0 Replies)
Discussion started by: mian_m_hamayun
0 Replies

2. UNIX for Advanced & Expert Users

how to differentiate system call from library call

Hi, Ho do I differentiate system call from library call? for example if I am using chmod , how do I find out if it is a system call or library call? Thanks Muru (2 Replies)
Discussion started by: muru
2 Replies

3. UNIX for Advanced & Expert Users

how implement a kernel call?

Hi, I would like o implement a kernel call, but I don't know how to do it. Where can I find an example? I've already look to minix source code, but I'm still confused and not very comfortable to mess with the code at this level. Thanks, (1 Reply)
Discussion started by: pedrosacosta
1 Replies

4. Programming

c system call

How the c compiler differentiates the system calls and function calls? (1 Reply)
Discussion started by: rangaswamy
1 Replies

5. UNIX for Advanced & Expert Users

ioctl() system call on Linux-i386

Greetings, Please help me with the following : Where can I find what means exactly and how to use each of the second argument of the ioctl() system call in Linux/386 : FIOxxx (file IOCTL requests), SIOxxx (socket IOCTL requests), TCxxx TIOxxx (terminal IOCTL requests) ? ... (1 Reply)
Discussion started by: aigoia
1 Replies

6. Shell Programming and Scripting

system call

Hi, How to write a system calls in a script ? > cd $HOME > ls -ltr thanks in advance.. (10 Replies)
Discussion started by: hegdeshashi
10 Replies

7. Ubuntu

How to implement TIOCOUTQ for USB modem on Linux Ubuntu

Hi, I need to override ioctl operation for a few USB drivers (sierra, option, cdc-acm) on Linux Ubuntu 2.6.34sb2 to support TIOCOUTQ command. Unfortunately, none of the drivers I mentioned above support TIOCOUTQ because it seems unclear to know amount of data inside a modem. Does Linux... (12 Replies)
Discussion started by: SDoroshenko
12 Replies

8. Shell Programming and Scripting

system call

Trying to figure out a load issue with a webserver. I have traced a php script and noticed the following connect(4, {sa_family=AF_INET, sin_port=htons(3306), sin_addr=inet_addr("XX.XX.XX.XX")}, 16) = -1 EINPROGRESS (Operation now in progress) <0.000035> poll(, 1, 2000) = 1 () <0.000120>... (5 Replies)
Discussion started by: rajan007
5 Replies

9. IP Networking

Implement inter vlan routing with Linux

Hello. I want to Communicate 2 VLAN with router like this solution: http://8pic.ir/images/83m0ouih8mmm9s1sfl56.jpg For this purpose I'm configuring 2 Linux system as a switch and connect 4 host to them. Then a router is added to scenario. The configuration of the switches is: On DUT1(Linux):... (1 Reply)
Discussion started by: zsn
1 Replies
LINSYSFS(5)						      BSD File Formats Manual						       LINSYSFS(5)

NAME
linsysfs -- Linux system file system SYNOPSIS
linsys /compat/linux/sys linsysfs rw 0 0 DESCRIPTION
The Linux system file system, or linsysfs, emulates a subset of the Linux sys file system and is required for the complete operation of some Linux binaries. The linsysfs provides a two-level view of devices. At the highest level, PCI devices themselves are named, according to their bus, slot and function in the system hierarchy. PCI storage devices are listed in the scsi_host class with a device symlink to the PCI directories of the devices. Each device node is a directory containing some files and directories: host A place holder for storage host information. pci_id A directory for the pci_id that contains either the device information or another directory structure for a PCI bridge. Each host node of scsi_host is a directory containing some files and directories: proc_name The Linux registered driver name for these devices. device A symlink to the PCI device directory. FILES
/compat/linux/sys The normal mount point for linsysfs. /compat/linux/sys/class/scsi_host The storage host node. /compat/linux/sys/devices/pci0000:00 The PCI device hierarchy node. EXAMPLES
The most common usage follows: mount -t linsysfs linsys /compat/linux/sys where /compat/linux/sys is a mount point. SEE ALSO
nmount(2), unmount(2), linprocfs(5), pseudofs(9) HISTORY
The linsysfs driver first appeared in FreeBSD 6.2. AUTHORS
The linsysfs driver was derived from linprocfs by Doug Ambrisko. This manual page was edited by Doug Ambrisko, based on the linprocfs(5) manual page by Garrett Wollman. BSD
February 5, 2007 BSD
All times are GMT -4. The time now is 03:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy