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

Explain how to use grep command to list find the records of a file containing 10 different strings?

683


What are the general commands in using unix os for a beginner?

681


Which command will print your home directory on screen?

666


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

679


What is a bash command?

718






How does pipe () work?

680


What are the dos commands?

746


Explain mount and unmount command.

717


What is the pipe command?

680


What is rmdir command?

657


What is grep command in unix with examples?

685


What is the use of cut command in unix?

810


What is the use of sed command in unix?

690


How do I use nslookup?

658


How do I search for a file in unix command?

635