On Mon, Oct 08, 2001 at 12:03:19PM +0530, C.Mohanasundaram wrote: > 1. what is the purpose of using the following macros in a module > > MODULE_AUTHOR(name) > MODULE_DESCRIPTION(desc) I thought these two where quite descriptive. > MOD_IN_USE Module in use. (yes, sometimes life *is* simple) > and can u please suggest what r the other macros that can be used inside a > module for betterment of the module if any. I suppose you mean macros for modules? Well, try these: MODULE_PARM(parameter, type) MODULE_PARM_DESC(parameter, description) MODULE_LICENSE(license) EXPORT_NO_SYMBOLS It's all pretty much explained in include/linux/module.h > 2. In the sys_call_table only first 221 postions are occupied by the system > calls in i386 architecture.What is stored exactly in the remaining positions. > What i want to know exactly is if i try to insert my own sytem call after > 221nd position using a loadable module, should i backup the content(i mean > the pointer to some function or something)and restore it when the module is > unloaded. Linux doesn't support loadable syscalls. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/