FUNCTION::SET_KERNEL_SHORT(3stap)
π function::set_kernel_short π
okay bestie, welcome to the 3stap manual, aka the SystemTap Tapset Reference corner of the internet, and today's main character is set_kernel_short. she writes shorts. to kernel memory. yes, that kernel memory. no cap, she's built different. π«Ά
πΈ NAME πΈ
function::set_kernel_short β writes a short value to kernel memory β¨
π SYNOPSIS π
set_kernel_short(addr:long,val:long)
π ARGUMENTS π
addrβ the kernel address where you want the short to get written. it's giving destination. πvalβ the short that's actually getting written there. the payload, the moment, the icon. π
β¨ DESCRIPTION β¨
so here's the tea π: this function writes the short value to a given kernel memory address. that's the whole vibe. it just... puts the short there. slay.
and if the write to that address fails? it reports an error. so like, if you're poking at an address that doesn't want to be poked, it will let you know, loudly, in the group chat. π
β οΈ okay this part matters, bestie, don't scroll past it: this requires the use of guru mode (-g). like, you literally cannot do this without it. guru mode is the price of admission and she does not negotiate. π
π¦ SEE ALSO π¦
tapset::conversions-guru(3stap)β go read this one too, it's the friend group π§
mwah π that's the whole page. you understood it. i'm so proud of you. go write some shorts (responsibly, in guru mode, with -g, like we discussed).
β and that's a wrap on the SystemTap Tapset Reference, version of September 2026, bestie!! ππβ 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