Re: macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 08, 2001 at 12:03:19PM +0530, C.Mohanasundaram wrote:
> Hi all,
> 
> I have couple of questions 
> 
> 1. what is the purpose of using the following macros in a module
> 
> MODULE_AUTHOR(name)

Tell module tools the author of the module.

> MODULE_DESCRIPTION(desc)

Give a short outline on the purpose of this module.

> MOD_IN_USE

Check wether the module is in use.

> 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.

It's undefined.  In later kernel releases there will be more syscalls, but
that is not easily testable inside kernelspace.

> What i want to know exactly is if i try to insert my own sytem call after 
> 221nd position using a loadable module,

You can't.

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.
-
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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux