Re: implementing a syscall in a module

Aaron M. Ucko (amu@MIT.EDU)
19 Apr 1998 13:30:20 -0400


"David S. Miller" <davem@dm.cobaltmicro.com> writes:

> From: amu@MIT.EDU (Aaron M. Ucko)
> Date: 19 Apr 1998 12:53:08 -0400
>
> I believe the AFS module (libafs.o) directly bangs on
> sys_call_table (defined in arch/*/kernel/entry.S) on most Linux
> architectures.
>
> Very bad, because the format of it is undefined and different on some
> architectures (some for example need to include the number of
> arguments in each entry in the table, such as the MIPS).

I imagine it uses different code on different architectures, but I
don't know for sure because the source is fascist. :-(

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu