How to write System calls?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Rajat Chadda
Yes -- system calls can be implemented
as modules.prog8.cis a module.prog9.cis a user-space program.In <
asm/unistd.h> -- add
#define__NR_my_func250
thanks but my question was rather:
"in which case should we implement a new syscalls rather than a device and a ioctl ?"
ie : what is better ? a new device and ioctl or new syscalls ?
and in which case, we should use one rather than the other ?
Signature · 3 lines
DINH Viêt Hoà, ingénieur associé, projet PARIS IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France Tél: +33 (0) 2 99 84 75 98, Fax: +33 (0) 2 99 84 25 28