Help in 'kernel_execve'

Rodrigo Rubira Branco (BSDaemon) rodrigo at kernelhacking.com
Mon Jun 4 10:44:32 CDT 2007


If you just want to execute some process from kernel mode, why not just use
call_usermodehelper()?


Cya,


Rodrigo (BSDaemon).

--
http://www.kernelhacking.com/rodrigo

Kernel Hacking: If i really know, i can hack

GPG KeyID: 1FCEDEA1


--------- Mensagem Original --------
De: biswa.nayak at wipro.com
Para: sam at ravnborg.org <sam at ravnborg.org>
Cópia: kernel-mentors at selenic.com
Assunto: RE: Help in 'kernel_execve'
Data: 04/06/07 15:03

>
>
> &gt; From: Sam Ravnborg [mailto:sam at ravnborg.org]
> &gt;
> &gt; On Mon, Jun 04, 2007 at 05:40:44PM +0530, biswa.nayak at wipro.com
wrote:
> &gt; &gt;
> &gt; &gt; &gt; -----Original Message-----
> &gt; &gt; &gt; From: Sam Ravnborg [mailto:sam at ravnborg.org]
> &gt; &gt; &gt; Subject: Re: Help in 'kernel_execve'
> &gt; &gt; &gt;
> &gt; &gt; &gt; On Mon, Jun 04, 2007 at 12:57:06PM +0530,
> &gt; biswa.nayak at wipro.com wrote:
> &gt; &gt; &gt; &gt;
> &gt; &gt; &gt; &gt; Hi
> &gt; &gt; &gt; &gt; I am currently trying to understand the boot sequence
of Linux.
> &gt; &gt; &gt; &gt;
> [snip]
> &gt;
> &gt;
> &gt; That does not look like a kernel you compiled yourself.
> &gt; Did you really execute make in the &lt;Path_to_linux&gt; dir?
> &gt; Otherwise your added export will not help you.
> &gt;
>
> Yups, I have compiled and booted from the above mentioned kernel
>
> &gt; &gt;
> &gt; &gt; [biswa at nerdbox test]$ uname -a
> &gt; &gt; Linux nerdbox.nerdbox 2.6.20.4 #1 SMP Sat Jun 2 17:49:20
> &gt; IST 2007 i686
> &gt; &gt; i686 i386 GNU/Linux
> &gt; &gt;
> &gt; &gt; [biswa at nerdbox test]$ cat /proc/kallsyms | grep
> &gt; kernel_execve c01072ea
> &gt; &gt; T kernel_execve
> &gt; This does not tell is a symbol is exported or not.
> &gt; Try to look into modules.symvers wich list all exported functions.
>
> [biswa at nerdbox linux-2.6.20.4]$ nm vmlinux | grep kernel_execve
> c01072ea T kernel_execve
> [biswa at nerdbox linux-2.6.20.4]$ cat /proc/kallsyms | grep kernel_execve
> c01072ea T kernel_execve
>
> As 'kernel_execve' symbol is found on vmlinux and the same address
> is reflected in kallsyms I believe it should have got exported.
>
> But again, When I checked into Modules.symvars I could not find
> kernel_execve in that.
>
> How strange?
>
> What can be the reason?
>
> Thanks for your help
> Biswa
>
> &gt;
> &gt; 	Sam
> &gt;
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.
>
> www.wipro.com
>
> _______________________________________________
> Kernel-mentors mailing list
> Kernel-mentors at selenic.com
> http://selenic.com/mailman/listinfo/kernel-mentors
>
>
>
>
>

________________________________________________
Message sent using UebiMiau 2.7.2



More information about the Kernel-mentors mailing list