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

What is a command and examples?

580


Describe the zip/unzip command using gzip.

608


What is the difference between cat command and more command?

599


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

679


Enumerate some of the most commonly used network commands in unix?

614






What command is used to switching between users in unix?

560


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

577


Is command prompt unix?

578


What are awk commands?

582


What is .sh file?

614


What is the comma to show the space allocation of files?

558


How does the system know where one command ends and another begins?

1574


What is grep short for?

556


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

587


What is the difference between awk and grep?

557