Linux system calls

1. System call

insert image description here

2. System calls have the following functions and features:

  The operating system manages the hardware for us, and user-mode processes do not have to deal directly with hardware devices.
Greatly improve the security of the system. If the user mode process directly interacts with the hardware device, it will cause security risks and may cause the system to crash.
  Make user programs portable. The user program and the specific hardware have been decoupled and replaced with an interface (api), and there will be no close relationship, which is convenient for porting between different systems.
insert image description here

It's not easy to organize your likes and attention, which is a great encouragement to me
insert image description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324372598&siteId=291194637