From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] patching the syscall table via a module
Date: Fri, 16 Aug 2002 23:10:28 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905949@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905938@msgid-missing>
>>>>> On Wed, 14 Aug 2002 09:31:45 -0400, chas williams <chas@cmf.nrl.navy.mil> said:
chas> afs patches the syscall table when it loads as a module.
chas> currently afs pags and pioctl are implemented this way. while
chas> this might change in the future, its not going to happen any
chas> time soon. i have run into a problem with this recently, and
chas> noticed that sys_call_table is declared as .rodata. my older
chas> ia64 machines dont seem to enforce the read only, but the new
chas> sn machine does!
chas> is there a particular reason the sys_call_table needs to be
chas> .rodata and not just .data? could it be changed? it seems
chas> the ia64 port is the only port that does this.
I don't have a problem with changing that, but beware that recent Red
Hat kernels no longer export the sys_call_table symbol. Personally, I
don't like this syscall-patching business either (for several
reasons). While a bit rude, perhaps the Red Hat approach will force
those who care to find a better solution. ;-)
--david
next prev parent reply other threads:[~2002-08-16 23:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-14 13:31 [Linux-ia64] patching the syscall table via a module chas williams
2002-08-16 23:10 ` David Mosberger [this message]
2002-08-17 23:50 ` chas williams
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=marc-linux-ia64-105590701905949@msgid-missing \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox