How tnsu21/debian_12_server_os_tnsaie_hunegnaw_sec_a_1203170 works
1. Repository purpose
This repository is an assignment deliverable, not a full application. It has two main outputs: a written report on installing Debian 12 in VMware Workstation, and a kernel-level exercise implementing a custom Linux system call.
2. Top-level structure
The repo is very small and artifact-driven:
- README.md explains the two assignment topics
- systemcall.c contains the custom system call implementation
- *.pdf files are final writeups/submissions
There is no build system, package manifest, or multi-module codebase.
3. Documentation subsystem
The PDFs are the primary “product” for the installation and system call writeups. They document procedure, screenshots/steps, and conclusions rather than runtime behavior. Architecturally, this is a report-centric repo with one source file used as evidence of kernel work.
4. Virtualization / OS installation flow
The Debian 12 installation section is centered on a VMware Workstation virtual machine. The important boundary here is host vs guest:
- host machine runs VMware
- guest VM runs Debian 12
- VM configuration covers CPU, memory, disk, and installation media
This subsystem is about environment setup and reproducible experimentation, not application logic.
5. Kernel development subsystem
The system call section shifts from user-space documentation to kernel-space code. The core technical boundary is:
- user space programs issue a system call
- Linux kernel receives control
- the custom syscall executes privileged kernel logic
The repo’s only code file is likely part of this kernel customization path.
6. systemcall.c role
systemcall.c is the only source artifact and represents the implementation side of the system-call exercise. Based on the README, its purpose is to define a custom syscall function that writes a message to the kernel log. That makes it a kernel-space component, not a user-space program.
7. Data/control flow
The system-call workflow described by the README is:
user-space test program or invocation mechanism → syscall entry in the kernel → custom syscall implementation in systemcall.c → kernel log output
The output is observability-oriented, using kernel logs as the feedback channel rather than returning complex data to an application.
8. Build and runtime environment
The repository implies a Linux kernel development toolchain rather than a normal application runtime. Relevant technologies are:
- Debian 12
- VMware Workstation
- Linux kernel source/build process
- kernel logging facilities
The execution environment matters because the syscall must be compiled into or linked with a kernel build, then tested inside the Debian VM.
9. Isolation boundary
The repo emphasizes isolated experimentation through virtualization. That separation is important architecturally because kernel changes are risky and should not affect the host OS. Snapshots and rollback are part of the workflow boundary, not the code boundary.
10. Project boundaries
There is no indication of external services, databases, networking, or persistent application state. The scope is limited to:
- environment setup
- kernel modification
- testing/log verification
This keeps the architecture simple and strongly centered on OS internals.
11. How to diagram it
A clear diagram would show two parallel tracks:
- a documentation/report track with README and PDFs
- a kernel-development track with Debian VM, kernel source/build, systemcall.c, and a test path from user space into the kernel
The main structural distinction is not between microservices or modules, but between artifact types and privilege boundaries.
12. Overall architectural summary
This repository is best understood as an educational OS lab: a VMware-hosted Debian environment for installation practice, plus a minimal Linux kernel customization exercise demonstrating syscall mechanics and kernel logging.
Main entry points: systemcall.c syscall.c · README.md README · ossp_individual_tnsaie-hunegnaw-merid_bdu1203170_A.pdf Debian report · system call implementation.pdf Syscall report
Components 10
Report artifacts
Written submission materials for the Debian install and syscall exercises.
- README · Explains the assignment scope and the two main deliverables.
README.md - Debian report · PDF submission covering Debian 12 installation in VMware Workstation.
ossp_individual_tnsaie-hunegnaw-merid_bdu1203170_A.pdf - Syscall report · PDF submission documenting the custom Linux system call exercise.
system call implementation.pdf
Kernel lab
Virtualized Debian and kernel-call path used for the system call exercise.
- Host machine · Physical host running VMware Workstation.
- VMware · Creates and manages the Debian 12 guest environment.
- Debian 12 VM · Isolated Linux guest used for installation practice and syscall testing.
- Kernel build · Linux kernel source and build process used to integrate the syscall.
- syscall.c · Custom system call implementation that emits a message to the kernel log.
systemcall.c - User test · User-space trigger or test program that enters the system call.
- Kernel log · Feedback channel for verifying syscall execution.
Connections 10
- README → Debian report: describes · The README summarizes the Debian installation deliverable.
- README → Syscall report: describes · The README summarizes the system call deliverable.
- Host machine → VMware: runs · The host machine provides the virtualization platform.
- VMware → Debian 12 VM: hosts · VMware contains the Debian 12 guest.
- Debian 12 VM → Kernel build: provides · The guest environment is used for kernel development and testing.
- Kernel build → syscall.c: includes · The syscall source is part of the kernel customization path.
- User test → syscall.c: triggers · A user-space invocation enters the custom syscall path.
- syscall.c → Kernel log: writes · The syscall reports execution through kernel logging.
- User test → Kernel log: verifies · Kernel log output is used to confirm behavior.
- Debian 12 VM → Kernel log: contains · The guest system is where the log is observed during testing.