B
B
by_EL2021-04-14 15:08:19
linux
by_EL, 2021-04-14 15:08:19

What mode do services run in User Mode or Kernel Mode?

in what mode do Windows or Linux services work on User mode or Kernel mode, for example?
Thank you

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
res2001, 2021-04-14
@by_EL

In kernel mode, only the kernel itself and device drivers work. Everything else works in user mode.
Any program making a system call switches to kernel mode for the duration of the system call. All programs make system calls a lot and regularly.

S
Saboteur, 2021-04-14
@saboteur_kiev

services work in user mode
In Kernel mode, only the main kernel services work (the scheduler process, and most of the drivers.
There may be user drivers that work in "user space".
Here's a picture for Windows:
https://docs.microsoft. com/en-us/windows-hardware/...
In principle, it's the same in Linux, only there kernel mode is a different term, and the correct one is user space and kernel space

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question