instrument_put_user(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is instrument_put_user(9) from the Kernel API Manual β€” it’s the one that adds instrumentation to put_user()-like macros ✨

πŸŽ€ SYNOPSIS πŸŽ€

instrument_put_user (from , ptr , size );

🌸 ARGUMENTS 🌸

  • from β€” source address πŸ‘€
  • ptr β€” userspace pointer to copy to 🫢
  • size β€” number of bytes to copy, literally the byte count πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

put_user and friends are fragile, fr fr 😭 so it may depend on the implementation whether the instrumentation happens before or after the data is copied from the userspace. no cap, that’s the whole vibe check here πŸ’…

✨ SEE ALSO ✨

the kernel file is ./include/linux/instrumented.h 🧚 and the whole related-function squad is:


sending u off with the source ./include/linux, the October 2026 date energy, and all the instrument_put_user(9) love πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from