FUNCTION::SET_KERNEL_CHAR(3stap)
π FUNCTION::SET_KERNEL_CHAR π
okay bestie, welcome to the String and data writing functions section of the SystemTap Tapset Reference (that's the 3stap manual, iykyk) π β and today's main character is a little function that writes a char straight into kernel memory. yes, kernel. yes, memory. we're in the big leagues now fr fr β¨
πΈ NAME πΈ
function::set_kernel_char β Writes a char value to kernel memory π
β¨ SYNOPSIS β¨
set_kernel_char(addr:long,val:long)
π¦ ARGUMENTS π¦
addrβ the kernel address you're writing that char to π― (yes, the kernel address, be normal about it)valβ the char that's getting written, that's the whole vibe π
π DESCRIPTION π
so basically: this function writes the char value to a given kernel memory address. that's it, that's the job π
if the write to the given address fails, it reports an error β like, it WILL tell you, no silent failures here π
β οΈ and now the important part, bestie: this one requires the use of guru mode (-g). do not skip the-g. that's not a suggestion, that's the rule π
π SEE ALSO π
that's the whole page, no notes π
and as a lil sign-off from me to you: this was the SystemTap Tapset Reference, Version whatever-the-current-one-is, dated September 2026 π«Ά go forth and write chars responsibly, mwah πβ¨
π¦ 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