Lecture 22: Monday, 19 August 2024

Announcements

  1. F0 initial submission due tonight

Review

  1. In L21 we covered:

    1. A look at write(2)

    2. Userspace and kernel entry points

    3. Contrast with read(2)

    4. A look at security hooks

    5. Superblocks and filesystem snapshotting


Lecture overview

  1. ioctl(2)

    1. Background and history

    2. Entry point and codepath

    3. Common IOCTLS to all file descriptors

  2. lseek(2)

    1. History and offset extension

    2. Entry point and codepath


Slides

File Descriptors 5


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