instrument_...m_user_after(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… instrument_...m_user_after(9) πŸ’…

Welcome to the Kernel API Manual, bestie β€” this page is lowkey iconic and very specific. 🫢


✨ NAME ✨

instrument_copy_from_user_after β€” add instrumentation after copy_from_user, periodt. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

void instrument_copy_from_user_after (const void *to , const void __user
       *from , unsigned long n , unsigned long left );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • to β€” destination address πŸ’Œ
  • from β€” source address 🌸
  • n β€” number of bytes to copy πŸ”’
  • left β€” number of bytes not copied (as returned by copy_from_user) 😭

🌈 DESCRIPTION 🌈

Okay so bestie, this one is here to instrument writes to kernel memory that are due to copy_from_user (and its variants). The instrumentation should be inserted after the accesses β€” like, after, not before, okay? πŸ‘‘βœ¨


πŸ”₯ SEE ALSO πŸ”₯


Mwah πŸ’‹ this page ships from ./include/linux and is dated October 2026 β€” slay, no cap. πŸŽ€πŸ’œ

πŸ“¦ where this page comes from