Os Assignment
Os Assignment
Chapters)
A1.
Security in an operating system (OS) involves protecting the system and its
resources from unauthorized access, attacks, and ensuring the
confidentiality, integrity, and availability of data.
A2.
Various categories of viruses (related to Operating systems):
• Boot Sector Viruses: Infect the master boot record of storage
devices.
• File Infectors: Attach themselves to executable files.
• Macro Viruses: Attach to documents and use macro scripting
languages.
• Multipartite Viruses: Infect both boot sectors and files.
• Polymorphic Viruses: Change their code to avoid detection.
• Metamorphic Viruses: Completely rewrite themselves to avoid
detection.
• Resident Viruses: Lodge themselves in the computer's memory.
• Non-Resident Viruses: Activate only when the infected file is
executed.
A3.
Securing an operating system (OS) is crucial to protect against various
cyber threats and ensure the confidentiality, integrity, and availability of
system resources. There are several security defenses implemented at
different levels to safeguard an operating system.
Here are some key security defenses:
A4.
• Access Lists for Objects: Each column in the access matrix can be
implemented as an access list for one object. The empty entries can
be discarded. The resulting list for each object consists of ordered
pairs , which define all domains with a nonempty set of access rights
for that object.
A5.
• Bit Vector (Bitmap): Allocates one bit for each block, indicating free
or allocated.
• Linked List: Keeps a linked list of free disk blocks.
• Counting Method: Keeps track of the number of free blocks.
• Grouping Method: Groups adjacent free blocks into a single entry.
• Indexed Free Space List: Maintains an index of all free blocks.
Implementing these strategies helps manage disk space efficiently
and ensures the security and integrity of the operating system and its
resources.