ENUM UM_TIMETRAVEL_SHARED_MEM_FDS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum um_timetravel_shared_mem_fds β€” from the Kernel API Manual

Okay so bestie, picture this: you're deep in the kernel, the START message just went out, and the ACK comes back with some file descriptors riding along. This little enum is literally the guest list πŸŽ€ β€” it tells you which slot in that control message holds which fd. That's it, that's the whole vibe. No cap.


✨ NAME ✨

enum um_timetravel_shared_mem_fds β€” the fds that get sent in the ACK message for the START message πŸ¦‹ iykyk


🌸 SYNOPSIS 🌸

enum um_timetravel_shared_mem_fds {
    UM_TIMETRAVEL_SHARED_MEMFD ,
    UM_TIMETRAVEL_SHARED_LOGFD ,
    UM_TIMETRAVEL_SHARED_MAX_FDS

};

Look at her. Three constants, zero drama, absolute main character energy πŸ‘‘


πŸŽ€ Constants πŸŽ€

  • UM_TIMETRAVEL_SHARED_MEMFD β€” the index of the shared memory file descriptor up in the control message πŸ’– like, this is the slot, okay?
  • UM_TIMETRAVEL_SHARED_LOGFD β€” the index of the logging file descriptor in the control message πŸ“ your logs live here, periodt
  • UM_TIMETRAVEL_SHARED_MAX_FDS β€” literally just the number of fds listed here πŸ”’ it's giving "count your blessings" but make it file descriptors
Heads up bestie β€” these are indices, not the fds themselves. The actual fd is hanging out in the control message. Don't @ me, that's just what the page says πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/uapi/linux/um_timetravel.h β€” go read it, it slays ✨

And the whole friend group:

  • struct um_timetravel_msg(9)
  • enum um_timetravel_start_ack(9)
  • enum um_timetravel_ops(9)
  • enum um_timetravel_schedshm_cap(9)
  • enum um_timetravel_schedshm_flags(9)
  • Time travel shared memory overview(9)
  • union um_timetravel_schedshm_client(9)
  • struct um_timetravel_schedshm(9)

Fr fr, go read the overview page first if you're new here β€” it's the vibe check for the whole time-travel shared memory situation 🌈

That's the page, bestie! 🫢 This gem lives in ./include/uapi/linux, dated October 2026, and it's page enum um_tim...ared_mem_fds(9) of the Kernel API Manual. Obsessed. Mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from