system call implementation

Submitted by veeraiyan
on May 22, 2009 - 7:49am

Hi

i am trying to implement a system call in linux kernel-2.6.29 but this file was missing /usr/src/linux/include/asm-i386/unistd.h

any idea
plz

removed

on
May 27, 2009 - 5:55pm

obviously you didn't even check if the directory exists, it's not just 'this file missing'.... there is no architecture named 'i386' in recent kernels.

what are you trying to implement?

sileNT (not verified)
on
May 28, 2009 - 4:05am

What are you trying to implement and what exactly do you need from that file?

I have to implement a system

on
May 28, 2009 - 6:13am

I have to implement a system call in the kernel .
http://tldp.org/HOWTO/html_single/Implement-Sys-Call-Linux-2.6-i386/
from the above link i am trying to implement the system call
in this link they have specified
1. /usr/src/linux/arch/i386/kernel/syscall_table.S

2. /usr/src/linux/include/asm-i386/unistd.h
these file

but my kernel source(2.6.29) did not have this file's

can you help me out

veeraiyan

outdated howto

on
May 28, 2009 - 7:25pm

as already stated the howto clearly predates http://lwn.net/Articles/243704/ , which was merged in 2.6.24 (released in january 2008)

this makes it more interesting for you, you don't have to stupidly follow a recipe 'found on the internet', but you can show your ability to transfer knowledge to a changed system.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.