Skip to content
Discussion options

You must be logged in to vote

In Linux, user mode and kernel mode are two privilege levels used to protect the system and its hardware.

User mode is where normal applications run, such as your browser, terminal, text editor, and games. Applications have limited privileges, so they cannot directly access protected kernel memory or freely control hardware.

Kernel mode is where the Linux kernel runs. It has the privileges needed to manage memory, schedule processes, handle hardware, and provide services such as file access and networking.

For example, when a program needs to read a file, it usually cannot access the storage device directly. It requests the operation through a system call (such as open() or read()). The C…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by GIhanvs98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussions GitHub Discussions is a collaborative communication feature Product Feedback Share your thoughts and suggestions on GitHub features and improvements Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
2 participants