Lecture 18: Thursday, April 3 2025

Previous Next

Announcements

  1. Once again we would like to encourage use of camera and microphone when possible

    1. Keep in mind that it allows us to guage how you are doing and better tailor the lecture to your needs and reactions

Overview

  1. ioctl(2)

    1. Common IOCTLS to all file descriptors
  2. lseek(2)

    1. History and offset extension

    2. Entry point and codepath

  3. Modules

    1. What is a kernel module?

    2. Why write a kernel module?

    3. Important considerations

    4. How to load and unload

    5. Building up an example

Review

  1. VFS: write and ioctl

Slides

VFS: ioctl and lseek

modules: introduction

Notes

VFS: ioctl and lseek

modules: introduction


msg = (silence)
whoami = None
singularity v0.6-56-g8e52bc8 https://github.com/underground-software/singularity