Hi all,
In the linux system , kernel is often starting up like this :
bootloader -> start_32() -> start_kernel() -> init()
i would like to ask what is the piority level in this starting procedure
? 0 or 3 ? that means, this start up process are running in kernel space
or user space ? or the leve
Hi all,
What is the first code the new born child process run after it is
forked by the system call and being schduled into the CPU to run ? what
i concerned is , kernel will schdule once when leaving the system call
for returning father process, will kernel schdule once again when
leaving the
Catalin Marinas wrote:
Tomko <[EMAIL PROTECTED]> wrote:
Inside the system call , the kernel often copy the data by calling
copy_from_user() rather than just using strcpy(), is it because the
memory mapping in kenel space is different from user space?
No, it is because this function
pass a pointer *a to kernel space , is it
true that *a seems means address 0xb000 to user space but actually it is
at 0xc000 at kernel space?
Thx a lot,
TOM
Jan-Benedict Glaw wrote:
On Wed, 2005-04-13 12:21:41 +0800, Tomko <[EMAIL PROTECTED]>
wrote in message <[EMAIL PROTECTED]>:
Hi all,
I am new to linux , hope someone can help me.
While i am reading the source code of the linux system call , i find
that the system call need to call copy_from_user() to copy the data from
user space to kernel space before using it . Why not use it directly as
the system call has got the
Hi,
I would like to ask when a userprogram called in user space called
execve("/bin/abc" will this system call finally copy the code of
/bin/abc into kernel space before kernel runs it or just leave the code
in the userspace and run directly ? If the system really copy the
program into
6 matches
Mail list logo