Re: Size of pointers in sys_call_table?

Brian Gerst (bgerst@didntduck.org)
Tue, 28 Aug 2001 09:26:24 -0400


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/