CS Unit 3 - Operating Systems
CS Unit 3 - Operating Systems
● Windows
● UNIX
● Mac OS
● Solaris (Sun/Oracle machines)
● Linux
File Manager
● Directory (or Folder): a user-created bundle of files and other directories (subdirectories)
● Directory Path: a sequence of directories within directories
Memory Manager
● Allocates space in main memory
● May create the illusion that the machine has more memory than it actually does (virtual
memory) by playing a “shell game in which blocks of data (pages) are shifted back and
forth between main memory and mass storage
An operating system coordinates the execution of application software, utility software, and units
within the operating system itself
Process Administration
· Scheduler: adds new processes to the process table and removes completed processes from
the process table
· Dispatcher: controls the allocation of time slices to the processes in the process table
o The end of a time slice is signaled by an interrupt
· Critical Region: a group of instructions that should be executed by only one process at a time
· Mutual exclusion: requirement that only one process at a time be allowed to execute a
Critical Region
Deadlock
· Processes block each other from continuing because each is waiting for a resource that is
allocated to another
3.5 Security
· Attacks from outside
o Problems
§ Insecure passwords
§ Sniffing software
o Counter measures
§ Auditing software
· Attacks from within
o Problem: a process that gain access to memory outside its designated area
o Counter measures: control process activities via privilege levels and privileged
instructions