From: bert hubert <ahu@ds9a.nl>
To: selvakumar nagendran <kernelselva@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Unable to find syscall number for some system calls
Date: Thu, 30 Dec 2004 23:04:40 +0100 [thread overview]
Message-ID: <20041230220440.GA15202@outpost.ds9a.nl> (raw)
In-Reply-To: <20041230042905.44219.qmail@web60607.mail.yahoo.com>
On Wed, Dec 29, 2004 at 08:29:05PM -0800, selvakumar nagendran wrote:
> I am intercepting system calls in 2.4.28 kernel
> for my project work. While I was looking for syscall
> numbers for system calls related to semaphores like
> semop,semget..the appropriate numbers were missing in
> the asm/unistd.h file. For other system calls like
> sys_pipe numbers are present in the above file. What
Well, you also won't find sys_connect as these are all wrapped in
sys_socketcall. For intel, it turns out that it has been decided to wrap all
sem*() calls in sys_ipc().
./asm-i386/unistd.h:#define __NR_ipc 117
The 'royal way' to figure these things out is to trace the path from
semget() in libc to the kernel. You can download glibc from the GNU site I
think.
Good luck!
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
prev parent reply other threads:[~2004-12-30 22:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-30 4:29 selvakumar nagendran
2004-12-30 22:04 ` bert hubert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041230220440.GA15202@outpost.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=kernelselva@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®