Re: [PATCH] Read only syscall tables for x86_64 and i386

Jeremy Maitin-Shepard
2005-06-28T19:30:05Z

Christoph Lameter <christoph@lameter.com> writes:

> On Tue, 28 Jun 2005, Jeremy Maitin-Shepard wrote:
>> As I mentioned previously when this patch was first posted to the list,
>> AFS writes to the syscall table. It does this even for Linux 2.6.
>> Apparently, the rodata section is not actually mapped read-only, so this
>> patch will probably not break AFS; nonetheless, it seems it would still
>> be better to keep the syscall table in a section that is supposed to be
>> writable.

> Maybe this needs to be fixed?

It would probably be better implemented with a more generic mechanism,
but I don't believe anyone is working on that now, so it looks like AFS
will continue to use a special syscall.

--
Jeremy Maitin-Shepard