Re: Size of pointers in sys_call_table?

From: Brian Gerst (bgerst@didntduck.org)
Date: Tue Aug 28 2001 - 08:26:24 EST


Harald Barth wrote:
>
> Most linux kernel ports export the sys_call_table symbol to be used in
> modules. I have not succeeded how to automatially figure out the size
> of a syscall pointer without inspecting the assembler for the
> architecture in question. Examples are mips and sparc64. Have I
> missed a syscall_t type available or shouldn't there be one?
>
> Harald.

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.

--

Brian Gerst - 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 : Fri Aug 31 2001 - 21:00:28 EST