Ron Vince
Ron Vince

Reputation: 101

Unix architecture - Is daemon process run in kernel level or user level?

What level do daemon processes like init, httpd, ftpd, dhcpd, etc run? Is it in kernel level or user level like shell, library functions and applications?

I read several Unix books and internet articles but none mention where do they run.

Upvotes: 0

Views: 849

Answers (1)

b2Wc0EKKOvLPn
b2Wc0EKKOvLPn

Reputation: 2074

They run in userspace but with root privileges for some of them. There is no requirement for a daemon (in general) to run in kernel space. Kernel space is restricted for tasks that handle the lowest level of interaction with the hardware (drivers) and back the vital functions of the OS (memory management, file system, etc.).

Upvotes: 1

Related Questions