distinguish between user mode and kernel mode?

Answer Posted / lipsa naik

Kernel mode, also referred to as system mode, is one of the
two distinct modes of operation of the CPU (central
processing unit) in Linux. The other is user mode, a non-
privileged mode for user programs. When the CPU is in
kernel mode, it is assumed to be executing trusted
software, and thus it can execute any instructions and
reference any memory addresses. all user mode software must
request use of the kernel by means of a system call in
order to perform privileged. The standard procedure to
change from user mode to kernel mode is to call the
software interrupt 0x80. All processes begin execution in
user mode, and they switch to kernel mode only when
obtaining a service provided by the kernel. This change in
mode is termed a mode switch.

Is This Answer Correct ?    21 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you grep recursively?

768


How many unix commands are there?

815


How does shebang work?

808


What is the use of the command 'ls -x chapter[1-5]' ?

891


Write a command that will display files in the current directory, in a colored, long format.

919


Which command is used to delete all files in the current directory and all its sub-directories?

934


What is used to type command?

750


What are grep patterns?

769


What is a command and examples?

807


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

811


What is nr in awk command?

785


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

890


What does the metacharacter mean?

803


Explain ‘library functions’ with respect to unix commands?

815


Does cp command overwrite files?

823