instrument_...m_user_after(9)
π 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 bycopy_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 π₯
- Kernel file
./include/linux/instrumented.hπ instrument_read(9)instrument_write(9)instrument_read_write(9)instrument_atomic_read(9)instrument_atomic_write(9)instrument_atomic_read_write(9)instrument_copy_to_user(9)instrument_copy_from_user_before(9)instrument_memcpy_before(9)instrument_memcpy_after(9)instrument_get_user(9)instrument_put_user(9)
Mwah π this page ships from ./include/linux and is dated October 2026 β slay, no cap. ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms