arch_has_block_step(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is the arch_has_block_step(9) page from the Kernel API Manual, and it's basically a CPU vibe check πŸ‘‘

arch_has_block_step β€” does this CPU support user-mode block-step? periodt πŸ’…

🌸 SYNOPSIS 🌸

arch_has_block_step

πŸ¦‹ DESCRIPTION πŸ¦‹

If this is defined, then there must be a function declaration or inline for user_enable_block_step, and arch_has_single_step must be defined too. fr fr, those are the rules 🫢

arch_has_block_step should evaluate to nonzero iff the machine supports step-until-branch for user mode. It can be a constant or it can test a CPU feature bit. so it's giving β€œyes/no energy,” but make it make sense 😌✨

πŸ’– SEE ALSO πŸ’–

Kernel file ./include/linux/ptrace.h β€” the whole friend group πŸ’«


source/version: ./include/linux β€’ date: October 2026 β€” mwah, go touch some ptrace πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from