From: runcoderen <runcoderzhcn@gmail.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: sys_init_module system call
Date: Sat, 21 Aug 2010 06:50:37 +0800 [thread overview]
Message-ID: <1282344637.1631.13.camel@bencharluo-laptop> (raw)
In-Reply-To: <20100820153254.3a87be2f.randy.dunlap@oracle.com>
hi Randy:
yes, it does!
Thanks a lot!
runcoderen
在 2010-08-20五的 15:32 -0700,Randy Dunlap写道:
> On Sat, 21 Aug 2010 06:18:04 +0800 runcoderen wrote:
>
> > hi all
> > I find sys_init_module system call in kernel/module.c file.
> > but it did not find any.
> > the source code version is linux-2.6.35
> >
> > does the kernel have changed?
> >
> > the book I am reading is LDD 3rd edition
>
> You won't find a function in kernel/module.c that looks like it has
> the name "sys_init_module". Instead, the function is defined by using
> a macro, and it looks like this:
>
> /* This is where the real work happens */
> SYSCALL_DEFINE3(init_module, void __user *, umod,
> unsigned long, len, const char __user *, uargs)
> {
>
>
>
> The use of SYSCALL_DEFINEx(func_name, args) is a fairly recent change
> (well, January, 2009) that may be the reason why you think that there
> has been a change. See
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1a94bc34768e463a93cb3751819709ab0ea80a01
>
>
> ---
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
--
/****************************************
http://runcoderen.wordpress.com/
****************************************/
next prev parent reply other threads:[~2010-08-20 22:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 4:13 [PATCH] mmc: make number of mmcblk minors configurable Olof Johansson
2010-08-19 0:16 ` Andrew Morton
2010-08-19 3:22 ` Olof Johansson
2010-08-20 1:02 ` [PATCH v2] mmc: add config and runtime option for number of mmcblk minors Olof Johansson
2010-08-20 22:13 ` [PATCH v3] " Olof Johansson
2010-08-20 22:18 ` sys_init_module system call runcoderen
2010-08-20 22:32 ` Randy Dunlap
2010-08-20 22:50 ` runcoderen [this message]
2010-09-08 14:25 ` [PATCH v3] mmc: add config and runtime option for number of mmcblk minors Lei Wen
2010-09-08 14:57 ` Olof Johansson
2010-09-08 15:19 ` Kay Sievers
2010-09-08 15:57 ` Olof Johansson
2010-09-08 16:48 ` Colin Cross
2010-09-08 16:50 ` [PATCH] mmc_block: Allow more than 8 partitions per card Colin Cross
2010-09-09 2:49 ` Lei Wen
2010-09-09 7:54 ` Adrian Hunter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1282344637.1631.13.camel@bencharluo-laptop \
--to=runcoderzhcn@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®