mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: selvakumar nagendran <kernelselva@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Making sys_read to operate only on pipefs
Date: Tue, 11 Jan 2005 20:03:12 -0800 (PST)	[thread overview]
Message-ID: <20050112040312.44853.qmail@web60609.mail.yahoo.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 685 bytes --]

Hello linux-experts,
   I am intercepting syscalls in kernel 2.4.28. I want
to intercept read system call for the pipefilesystem.
Ofcoure read is a more generic syscall. But while
intercepting it, I have to determine whether this one
operates on a pipe. If it is, I want to perform some
other work, else nothing should be done and the normal
work has to be performed.For this, can I compare the
read function pointer in file operation structure with
the function pipe_read prototype in pipe.c. Is it
possible? If not how can I do that?

Thanks,
selva


		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 

             reply	other threads:[~2005-01-12  4:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-12  4:03 selvakumar nagendran [this message]
2005-01-12  6:40 selvakumar nagendran
2005-01-12 10:34 ` Martin Waitz

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=20050112040312.44853.qmail@web60609.mail.yahoo.com \
    --to=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

Powered by JetHome