Re: export of sys_call_table

Greg KH
2002-10-04T04:44:13Z

On Fri, Oct 04, 2002 at 07:05:03AM +0300, Muli Ben-Yehuda wrote:
>
> http://marc.theaimsgroup.com/?l=kernelnewbies&m=102267164910800&w=2,

You didn't read my post to that same thread did you:
http://marc.theaimsgroup.com/?l=kernelnewbies&m=102130770415962

And for the most part, the people on kernelnewbies have given up on
trying to explain to new people why this does not work. I know I sure
have :)

> http://marc.theaimsgroup.com/?l=linux-kernel&m=101821127019203&w=2
>
> [2] Can the LSM hooks be used for notification and modification on
> every system call's entry and exit?

No. See the LSM mailing list archives for why we did not decide to do
this. (hint, you don't really achieve what you want to by doing this.)

If you _really_ want to hook things like this, look at LTT or dprobes.
They should work just fine for you.

thanks,

greg k-h