FUNCTION::SET_KERNEL_STRING_N(3stap)
β¨ NAME β¨
function::set_kernel_string_n β bestie, this one writes a string of a given length straight into kernel memory π
It lives in the SystemTap Tapset Reference, manual section 3stap, and it's giving very much "guru mode only" energy, so stay tuned π
πΈ SYNOPSIS πΈ
set_kernel_string_n(addr:long,n:long,val:string)
π ARGUMENTS π
addrβ the kernel address where the string is gonna get written, like the destination of the whole operation π«nβ the maximum length of the string. the cap. the limit. the "don't go past this" π§valβ the actual string you're writing out, the star of the show π«Ά
π DESCRIPTION π
okay so here's the vibe: this thing writes the string you hand it up to a maximum given length, into a given kernel memory address. that's it, that's the whole job, and it does it slayfully β¨
if the string copy faults?? it reports an error. no silent failures, we don't do that here π
β οΈ heads up bestie: this one requires the use of guru mode (-g). do not skip that part, it's not optional, it's literally the price of admission π₯
π SEE ALSO π
k that's the whole page, ily, go write to kernel memory responsibly π
mwah π this was the SystemTap Tapset Reference, September 2026 edition β see you in the next manpage bestie π¦β¨
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms