Develop Linux tools and daemons with system calls, signals, and POSIX-compliant code.
Course Description
In this course, you will explore the vital role of system calls in Linux and other systems, enabling user-space applications to connect with the kernel and perform privileged functions. System calls contribute to application and operating system compatibility and interoperability by offering a defined interface for accessing the kernel that is used for functionality.
You will explore system call APIs to learn how to build interactive and service (daemon) applications that control the system and perform operations. We categorize based on the type of operation they perform: process management and file management. Practical projects include building standard Linux applications, such as ls, cat, etc. as well as some service processes, such as ftp.
Key topics covered include I/O control, file systems, access, and locking; signal handling; process and threads management; IPC using pipes and TCP/UDP sockets. Additionally, the course will address makefiles, man pages and packaging utilities.
By the end of the course, you’ll have developed a complete ftp package and mastered the implementation of client-server programs using TCP, UDP, and RPC. This course adheres to the POSIX standard, ensuring a solid foundation, while also incorporating discussions on portability considerations for BSD extensions and SVR4 differences.
Note(s):
To practice, students are expected to install or have access to Linux Operating System version 7, or higher (version 9 is preferred) on their home computers. Options include VMWare, VirtualBox, LiveCD, disk partition or separate drive or an embedded Linux system such as a Raspberry Pi.
Prerequisites / Skills Needed
A basic knowledge of C language programming and a working knowledge of the Linux/UNIX operating environment are required.
- Flexible Attend in person or via Zoom at scheduled times.
This class meets simultaneously in a classroom and remotely via Zoom. Students are expected to attend and participate in the course, either in-person or remotely, during the days and times that are specified on the course schedule. Students attending remotely are also strongly encouraged to have their cameras on to get the most out of the remote learning experience. Students attending the class in-person are expected to bring a laptop to each class meeting.
Two no meetings TBA. To see all meeting dates, click "Full Schedule" below.
Electronic Course Materials: You will be granted access in Canvas to your course site and course materials approximately 24 hours prior to the published start date of the course.
