Re: Size of pointers in sys_call_table?

Ralf Baechle (ralf@uni-koblenz.de)
Thu, 30 Aug 2001 01:26:04 +0200


On Tue, Aug 28, 2001 at 05:17:24PM +0100, Alan Cox wrote:

> > The layout of the sys_call_table is totally architecture dependant. The
> > question to ask here is why do you need to use it? Modifying it to hook
> > into syscalls is frowned upon.
>
> And potentially unsafe (think about caching, and non atomic writes on
> some platforms)

Breakage practically guaranteed on MIPS systems where additional information
beyond the pointer is associated with a syscall entry point. Breakage also
guaranteed on ccNUMA systems that run per-node copies of the kernel.

Ralf
-
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/