ENUM HW_PROTECTION_ACTION(9)
πΈ NAME πΈ
enum hw_protection_action β Hardware protection action. (hiii bestie, you're in the Kernel API Manual entry for enum hw_protection_action(9), and it's giving very demure, very kernel π
)
β¨ SYNOPSIS β¨
okay so here's the whole enum, copied exactly, spaces and all:
enum hw_protection_action {
HWPROT_ACT_DEFAULT ,
HWPROT_ACT_SHUTDOWN ,
HWPROT_ACT_REBOOT
};
π Constants π
these are the three constants, and they are literally the whole menu:
HWPROT_ACT_DEFAULTβ The default action should be taken. This isHWPROT_ACT_SHUTDOWNby default, but can be overridden. (so it's the "whatever the default is" choice, but not locked in forever π«Ά)HWPROT_ACT_SHUTDOWNβ The system should be shut down (powered off) for HW protection. (powered off, no messing around π)HWPROT_ACT_REBOOTβ The system should be rebooted for HW protection. (yep, full reboot for protection π₯)
π SEE ALSO π
Kernel file ./include/linux/reboot.h, plus struct sys_off_data(9) and hw_protection_trigger(9) β go peek at those, iykyk π
mwah π β this page was sourced from ./include/linux, dated October 2026, and that's the whole enum hw_protection_action(9) vibe. periodt πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms