Chapter 2 Flashcards
RTE
Run-time Environment
System-call interface
RTE -> System-call Interface
The RTE proves a system-call interface that serves as the link to system calls made available by the os.
How many types of system calls
Six
System call types
- Process control
- File management
- Device management
- Information maintenance
- Communications
- Protection
Process Control
- Create, terminate process
- load, execute
- get/set process attributes
- wait event, signal event
- allocate and free memory
File management
- create, delete file
- open, close
read, write, reposition
Strace
Available on Linux sytems, lists each system call as it is executed.
Two common models of interprocess communication
- Message-passing model
- Shared-memory model
Message-passing model
The communicating processes exchange messages with one another to transfer information
Deamons
Shared Memory Model
Processes use shared_memory_create() and shared_memory_attach() system calls to create and gain access to regions of memory owned by other processes.
Computer Hierarchy
hardware, OS, system services, Application programs.
System services (system utilities)
Provide a convenient environment for program development and execution.
Deamons, Services, subsystems
Constantly running system-program processes.