Subject: Multiple syscalls in an LKM
To: None <>
From: Pete Yandell <>
List: tech-kern
Date: 07/02/2004 14:15:22
Is there an easy way to define multiple new syscalls in an LKM? Using
the MOD_SYSCALL macro more than once results in errors (error:
redefinition of `_module'), and pulling MOD_SYSCALL apart and trying
to do the equivalent myself looks painful.

Alternatively, am I better off just defining a single syscall and
using a selector to choose the appropriate function, ioctl style?


Pete Yandell