Re: export of sys_call_table

David S. Miller (davem@redhat.com)
Fri, 04 Oct 2002 14:06:29 -0700 (PDT)


From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: 03 Oct 2002 23:02:40 +0100

Overwriting syscall table entries is not safe. Its not safe because
there is no locking mechanism, and its not safe because of the pentium
III errata.

It is also non-portable, such syscall overwriting requires knowledge
of the layout of the table on every architecture. On some platforms
it is a list of pointers + argument count, on some 64-bit platforms
it is a list of 32-bit truncated pointers to save space.

There is simply no portable way to make changes to the system call
table, so exporting it makes zero sense.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/