FUNCTION::SET_KERNEL_STRING(3stap)
π FUNCTION::SET_KERNEL_STRING π
okay bestie, welcome to the 3stap manual, section of the SystemTap Tapset Reference β it's giving "string and data writing functions" energy and honestly? iconic. β¨
πΈ NAME πΈ
function::set_kernel_string β writes a string to kernel memory π«Ά
π SYNOPSIS π
set_kernel_string(addr:long,val:string)
β¨ ARGUMENTS β¨
addrβ the kernel address where the string is gonna get written. that's the destination, bestie, the spot. πvalβ the string that is to be written. the actual content. the main character of this whole operation. π
π¦ DESCRIPTION π¦
so what this does is write the given string to a given kernel memory address. simple, clean, slay. β¨
if the string copy faults, it reports an error. no cap, it will tell you.
β οΈ and this is the big one, bestie: this requires the use of guru mode, which means you gotta pass -g. do not skip that part, i am literally begging. guru mode is not a vibe you can just skip past. π
π SEE ALSO π
tapset::conversions-guru(3stap)β go read this one too, iykyk π
and that's the whole page, bestie!! this was from the SystemTap Tapset Reference, version Ver, dated September 2026 β mwah, obsessed, periodt. πππ¦πβ
π¦ 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