Hi,
>what is
exactly what you wanna do ? do you wanna know the returned value by a system
call that a certain process or user does by means of an LKM ? i.e do you wanna
make an LKM that hooks the return values of a syscalls ?
I have a LKM which overrides a syscall,
now I want to get the error no returned by the orginal
syscall.
(For example: In AIX seterror() and geterror()
kernel fuctions set the error no in the error no table and reads the
table
for the appropriate error returned by the call) I
want a similar mechanism in linux.
Hope things are clear to you now.
Thanks,
Saumendra
******************************************************************************************
Network Programs is a SEI-CMM Level 5, ISO 9001:2000 & BS-7799 Part-2 Certified Company
******************************************************************************************
The information contained in this communication (including any attachments) is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and delete it from your system. Network Programs is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
*******************************************************************************************
|