[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOh0hwO03GJ2ApNW6GV5fJKJ4S+hTv3An7vLTO4qaL4U9grdJg@mail.gmail.com>
Date: Thu, 22 Dec 2011 21:37:53 +0530
From: Gaurav Saxena <grvsaxena419@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Intercepting system calls
Hello all,
I am writing an application for which I need to intercept some
filesystem system calls eg. unlink. I need unlink to call my code
before deleting abc so that I could probably prevent unlink . I would
like to implement this in a kernel module instead of modifying kernel
code itself. I would like to intercept system calls by replacing
system calls but I have not been able to find any method of doing that
in linux > 3.0. Please suggest some method of doing that.
--
Thanks and Regards ,
Gaurav
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists