instrument_put_user(9)
π 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:
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_copy_from_user_after(9)instrument_memcpy_before(9)instrument_memcpy_after(9)instrument_get_user(9)
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
- 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