Re: export of sys_call_table

From: David S. Miller (davem@redhat.com)
Date: Fri Oct 04 2002 - 16:06:29 EST


   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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:47 EST