Re: System call hooking in 2.6 kernel..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 12, 2008 at 8:56 PM,  <lech@xxxxxxxxxxxxxxxx> wrote:
>
> Myself I'm trying to hook execve syscall, but I have problems with it. What
> I need is after calling execve by user program just do a simple check of
> file name (by kernel - strstr) and then proceed to normal execution.
>
> Without debug registers.
> Any hints would be greatly appreciated.
> Or maybe someone would direct me to some up to date introductory material
> about kernel space / user space transition ?
>

There is something called system call notification:

http://lkml.org/lkml/2008/9/8/76

using the method of self-ptracing.


-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux