Question

What can be the causes for the processor to transmission from user mode to kernel mode?...

What can be the causes for the processor to transmission from user mode to kernel mode? Can the user execute arbitrary code after transitioning?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1) There are several reasons for transmission of the processor from user mode to kernel mode. Some of them are as follows:

a) There are several system calls (also known as privileged instructions) such as file read, write, delete etc which needs the processor to be in kernel mode for execution.

b) For security purposes such that user programs don't crash the operating system.

c) CPU scheduling and all other functions of CPU happens in kernel mode.

No, the user can't execute the arbitrary code in the kernel mode. For the execution, the processor again has to make the transition from kernel mode to user mode.

Hope that helps :)  

Add a comment
Know the answer?
Add Answer to:
What can be the causes for the processor to transmission from user mode to kernel mode?...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT