System Call
- A system call is a mechanism using which a user program can request a service from the kernel for which it does not have permission to perform.
- System calls are the only way a process can go into kernel mode from user mode.
How do apps interact with Kernel?
Apps interact with Kernel using System Calls
Eg. Mkdir FolderName
- Mkdir indirectly calls the kernel and asks the file management module to create a new directory.
- Mkdir is just a wrapper of actual system calls.
- Mkdir interacts with the kernel using system calls.
Types of System Calls
- Process Control
- File Management
- Device Management
- Information Maintenance
- Communication Management
0 Comments