[lkml]   [2002]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Nice values for kernel modules
Andi Kleen <> writes:

> Alan Cox <> writes:
> > > Ability to bypass the stupid commercial time-locked licences (at some time
> > > wordperfect demo was locked like that and my timetravel module turned a
> > > demo into full product -- users were happy, at least according to emails I
> > > received :)
> >
> > Not any more. Under the DMCA your time travel module probably makes you
> > a fugtive from US justice 8)
> >
> > In general though calling into the syscall table by hand is a bad move. If
> > the function you are calling is generically useful then its much better to
> > work out whether the real function should be exported.
> Some programs depends on tapping the system call table. For example private
> ice and oprofile do this for execve and other calls to know when a new
> process is started. It would be possible to add function pointers to all these
> functions, but just tapping the system call table actually looks cleaner
> to me.
> [yes, the approach has module unload races, but these modules tend to just
> make themselves not unloadable]

What is wrong with using ptrace? That should already give you a hook into
every syscall.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.053 / U:1.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site