mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kasper Dupont <kasperd@daimi.au.dk>
To: "Paul Clements (home)" <pclements@alltel.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: unexporting sys_call_table a good idea?
Date: Tue, 01 Apr 2003 07:18:15 +0200	[thread overview]
Message-ID: <3E892117.247A17FE@daimi.au.dk> (raw)
In-Reply-To: <3E891D8E.9E534400@alltel.net>

"Paul Clements (home)" wrote:
> 
> Hi all,
> 
> given the recent ptrace-related security bug, it sure would be nice to
> have sys_call_table exported, so that I could just disable ptrace
> altogether on affected systems (where no one is doing any debugging or
> devel work, anyway)... I realize that there are race conditions, etc.,
> with replacing syscalls, but could those not be solved?... as it is,
> rather than being able to simply compile an external module (which
> disables ptrace) and load it on affected systems, I am forced to
> recompile an entire kernel, install it on the affected systems, and
> reboot them all...

You could get the address of sys_call_table from the System.map file
and pass it as an argument to the module.

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:aaarep@daimi.au.dk
for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);

  reply	other threads:[~2003-04-01  5:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01  5:03 Paul Clements (home)
2003-04-01  5:18 ` Kasper Dupont [this message]
2003-04-01  5:57   ` Paul Clements (home)
     [not found] <mailman.1049173681.3377.linux-kernel2news@redhat.com>
2003-04-01  6:06 ` Pete Zaitcev
2003-04-01  6:53   ` Kasper Dupont

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=3E892117.247A17FE@daimi.au.dk \
    --to=kasperd@daimi.au.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pclements@alltel.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®