Naming in file systems

Required reading: namei() and associated functions; sysfile.c.

xv6 data structures

  • naming functions:

    xv6 code

    symlinks

    TOCTTOU

    rest of course