Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


distinguish between user mode and kernel mode?

Answers were Sorted based on User's Feedback



distinguish between user mode and kernel mode?..

Answer / 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

distinguish between user mode and kernel mode?..

Answer / rhino

Kernel Mode (System Mode) :

in this mode executing code has complete and unrestricted
access to the underlying hardware. It can execute any CPU
instruction and reference any memory address.

Kernel mode is generally reserved for the lowest-level,
most trusted functions of the operating system. Crashes in
kernel
mode are catastrophic; they will halt the entire PC.

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 (i.e., locations in
memory).

The kernel (which is the core of the operating system and
has complete control over everything that occurs in the
system)
is trusted software, but all other programs are considered
untrusted software.

Thus, all user mode software must request use of the kernel
by means of a system call in order to perform privileged
instructions, such as process creation or input/output
operations.


User Mode :

In User mode, the executing code has no ability to directly
access hardware or reference memory. Code running in user
mode must delegate to system APIs to access hardware or
memory.

Due to the protection afforded by this sort of isolation,
crashes in user mode are always recoverable. Most of the
code
running on your computer will execute in user mode.

Is This Answer Correct ?    21 Yes 2 No

distinguish between user mode and kernel mode?..

Answer / harsha

kernal mode has higher priority while user mode has lower
priority.
kernal mode has ability to read user mode but user mode has
not priority to interfare in kernal mode.

Is This Answer Correct ?    9 Yes 3 No

distinguish between user mode and kernel mode?..

Answer / bhargav manne

kernal mode is access any resource regarding the hardware
i.e it can access both user and kernal resources.


but in case of user mode it only access to the user resources
instead of accessing system resources also like kernal.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What is an Unix command to convert HEX value to ASCII value located in any flat file.

2 Answers  


What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?

6 Answers   Deloitte, Polaris,


What is pipe command in unix?

0 Answers  


what is the significance of "su" command?

3 Answers  


How do you grep a case insensitive?

0 Answers  


distinguish between interrupts and exceptions?

2 Answers   Infosys, Wipro,


In UNIX, what is the command to kill a process?

10 Answers  


What does this command do? Cat food 1 > kitty

0 Answers  


Give Command that will move a single file called "unix.txt"

7 Answers   IBM,


what is the shell for dos,nt operating systems?

1 Answers  


what is the command to list files in a directory in UNIX?

8 Answers  


What command would users use to see what file one page at a time in UNIX?

7 Answers   IBM,


Categories