Lecture 16: Monday, 29 July 2024

Announcements

  1. E2 initial submission due tonight

  2. P2 due next week


Review

  1. In L15 we covered:

    1. Using class files to provide a kernel interface in sysfs

    2. Mutexes and atomic types in the kernel

    3. "Listened" to the sound of a race condition in the kernel


Lecture overview

  1. Review of kkey race condition

  2. Open syscall overview

  3. File descriptor table in Linux kernel


Slides

File Descriptors 1


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