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