All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Nice values for kernel modules
Date: 16 Mar 2002 23:03:36 +0100	[thread overview]
Message-ID: <p73d6y4187b.fsf@oldwotan.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.33.0203161300300.1089-100000@einstein.homenet.suse.lists.linux.kernel> <E16mICa-0006mr-00@the-village.bc.nu.suse.lists.linux.kernel>
In-Reply-To: Alan Cox's message of "16 Mar 2002 18:40:02 +0100"

Alan Cox <alan@lxorguk.ukuu.org.uk> 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]

-Andi

       reply	other threads:[~2002-03-16 22:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.33.0203161300300.1089-100000@einstein.homenet.suse.lists.linux.kernel>
     [not found] ` <E16mICa-0006mr-00@the-village.bc.nu.suse.lists.linux.kernel>
2002-03-16 22:03   ` Andi Kleen [this message]
2002-03-25  7:47     ` Nice values for kernel modules Eric W. Biederman
2002-03-25  8:20       ` John Levon
     [not found] <Pine.LNX.4.33.0203161126130.1090-100000@einstein.homenet.suse.lists.linux.kernel>
     [not found] ` <16358.1016282075@ocs3.intra.ocs.com.au.suse.lists.linux.kernel>
     [not found]   ` <20020316154848.GA82190@compsoc.man.ac.uk.suse.lists.linux.kernel>
2002-03-16 16:03     ` Andi Kleen
2002-03-15 23:59 Balbir Singh
2002-03-16  9:51 ` tigran
2002-03-16 10:00   ` Keith Owens
2002-03-16 10:41     ` Paul Mackerras
2002-03-16 11:27       ` Tigran Aivazian
2002-03-16 12:34         ` Keith Owens
2002-03-16 13:04           ` Tigran Aivazian
2002-03-16 13:52             ` Christoph Hellwig
2002-03-16 17:42             ` Alan Cox
2002-03-16 15:48           ` John Levon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=p73d6y4187b.fsf@oldwotan.suse.de \
    --to=ak@suse.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.