distinguish between user mode and kernel mode?

Answer Posted / narendrasairam immadi

When a process is in user space, its system calls are being
intercepted by the tracing thread. When it's in the kernel,
it's not under system call tracing. This is the distinction
between user mode and kernel mode.

The transition from user mode to kernel mode is done by the
tracing thread. When a process executes a system call or
receives a signal, the tracing thread forces the process to
run in the kernel if necessary and continues it without
system call tracing

Is This Answer Correct ?    28 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it called grep?

561


What is the use of find command in unix?

584


Explain mount and unmount command.

615


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1763


What are filter commands in unix?

555






What command is used to switching between users in unix?

564


How do I find previous commands in unix?

594


Explain ‘system calls’ with respect to unix commands?

603


what is the advaantage of each user having its own copy of the shell?

2036


How to display no of records in oracle using unix command?

589


What do know about tee command?

607


What is nr in awk command?

604


What does 'mkdir' command do in UNIX?

660


Enlist some filename manipulation commands in unix.

554


What does this command do? Cat food 1 > kitty

978