retagged by
1,915 views

1 Answer

1 votes
1 votes

Answer:

Kernel stack area separate from the stack of the interrupted process because:

  • To protect the operating system from crashing because of the poorly written user program.
  • To protect from the malicious user who may be able to use the stack data left by the kernel in the user program's memory space while returning from a system call.

 

Related questions

0 votes
0 votes
0 answers
3
admin asked Oct 25, 2019
567 views
Consider a system in which it is desired to separate policy and mechanism for the scheduling of kernel threads. Propose a means of achieving this goal.
0 votes
0 votes
1 answer
4
admin asked Oct 24, 2019
570 views
In a system with threads, is there one stack per thread or one stack per process when user-level threads are used? What about when kernel-level threads are used? Explain....