applications interact with the kernel through system calls - Answerstrue
the dual mode operations of an operating system are the ______________ mode and the ____________
mode - Answersuser; kernel
logical OS structure - Answersrefer to ppt
Linux is a ___________ and ___________ operating system. - Answersmultiuser; multitasking
linux allows users to run ________________, manage ________________, and _______________ with
other systems - Answersapplications; resources; communicate
linux has a very Unix-like feel, but is a _________ and __________________ OS - Answersfree; open
source
linux distributions - Answers- linux kernel
- basic software and utilities
- software package manager
- Debian
- Fedora
- Gentoo
- Kali
what components make up the Linux OS - Answers- kernel
- shell
- applications
what is kernel as part of the composition of Linux OS - Answers- 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 - Answers- 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 - Answersapplication
programming interface (API)
_______________ is the standard C library in Linux - AnswersGNU C (glibc) library
system calls provide the interface between a ___________________ and the ___________________ -
Answersrunning program; operating system
three general methods used to pass parameters between a running program and operating system -
Answers- 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 - Answerskernel mode
what mode is the system call in when normal programs are executed - Answersuser mode
aspects of a function call - Answers- caller and callee are in the same process
- same user
- same "domain of trust"
aspects of a system call - Answers- OS is trusted; user is not
- OS has super-privileges; user does not
- must take measures to prevent abuse
system call structure - Answersrefer to ppt
system calls are primarily used to - Answers- manage the file system
- control processes
- provide communication
when system call causes an error - Answers- returns -1
- stores error number in variable called "errno" given in header file called /usr/include/errno.h
- then calls to perror() displays argument string, colon, and actual error message