linux-mips
[Top] [All Lists]

Re: when does "init" become usermode process

To: shenminshi@netscape.net
Subject: Re: when does "init" become usermode process
From: "Kip Walker" <kwalker@broadcom.com>
Date: Fri, 14 Feb 2003 10:29:52 -0800
Cc: linux-mips@linux-mips.org
Organization: Broadcom Corp. BPBU
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <6105D94A.6A2BDDA3.10683EB2@netscape.net>
Sender: linux-mips-bounce@linux-mips.org
shenminshi@netscape.net wrote:
> 
> My question is when and how does init turn itself into usermode.

Look at 'start_thread' in arch/mips/kernel/process.c, which is called
from load_elf_binary in fs/binfmt_elf.c (as a result of the execve
syscall).

Kip


<Prev in Thread] Current Thread [Next in Thread>