David Woodhouse <dwmw2@infradead.org> wrote:
> Aha. It's a device node provided by the same module? But what happens when
> the syscall is invoked with a fd which _isn't_ correct?
Well, a /proc file actually... but as part of registering the syscall handler,
you also pass a pointer to the file_operations struct, which the stub checks
against before calling the handler.
David howells
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:20 EST