LATEST UPDATE (ALREADY GRADED A+)
applications interact with the kernel through system calls
true
the dual mode operations of an operating system are the ______________ mode and the
____________ mode
user; kernel
logical OS structure
refer to ppt
Linux is a ___________ and ___________ operating system.
multiuser; multitasking
linux allows users to run ________________, manage ________________, and _______________ with
other systems
applications; resources; communicate
linux has a very Unix-like feel, but is a _________ and __________________ OS
free; open source
linux distributions
- linux kernel
- basic software and utilities
- software package manager
- Debian
- Fedora
- Gentoo
- Kali
what components make up the Linux OS
- kernel
- shell
- applications
what is kernel as part of the composition of Linux OS
- central part
- provides direct interface to hardware and applications
, - management of resources
files, processes, devices, memory, network, etc
what is shell as part of the composition of Linux OS
- command interpreter provides interface between user and OS
- allows user to interact with Linux OS by reading, pre-processing, and executing commands
the ________________ _________________ _________________ allows user commands and
applications indirect access to systems resources and services through system calls
application programming interface (API)
_______________ is the standard C library in Linux
GNU C (glibc) library
system calls provide the interface between a ___________________ and the ___________________
running program; operating system
three general methods used to pass parameters between a running program and operating system
- pass parameters in registers
- store the parameters in a table in memory, and the table address is passed as a parameter in a register
- push (store) the parameters onto the stack by the program and pop off the stack by the operating
system
what mode is the system call in when it is the supervisor or protected execution, and executes with
full access to all physical resources of the computer
kernel mode
what mode is the system call in when normal programs are executed
user mode
aspects of a function call
- caller and callee are in the same process
- same user
- same "domain of trust"
aspects of a system call
- OS is trusted; user is not
- OS has super-privileges; user does not
- must take measures to prevent abuse
system call structure
refer to ppt
system calls are primarily used to