module_param_named_unsafe(9)
π module_param_named_unsafe(9) β Kernel API Manual π
okay bestie, welcome to module_param_named_unsafe(9) from the Kernel API Manual β yes, the manual name is right there, weβre being cute and accurate today π«Ά
π NAME π
module_param_named_unsafe β same as module_param_named but taints kernel π
bestie, the βunsafeβ is not a vibe check, it taints kernel. Itβs literally in the name. π
β¨ SYNOPSIS β¨
the whole call looks exactly like this, no cap:
module_param_named_unsafe (name , value , type , perm );
π ARGUMENTS π
nameβ a valid C identifier which is the parameter name. so like, actually valid C, bestie β this is the parameterβs name β¨valueβ the actual lvalue to alter. not a copy, the actual lvalue β main character energy π―typeβ the type of the parameter. the type, periodt π¦permβ visibility in sysfs. this controls the visibility insysfsπ
π¦ SEE ALSO π¦
Kernel file ./include/linux/moduleparam.h says hiii, and the whole friend group is:
module_param(9)module_param_unsafe(9)module_param_named(9)module_param_cb(9)core_param_cb(9)postcore_param_cb(9)arch_param_cb(9)subsys_param_cb(9)fs_param_cb(9)device_param_cb(9)late_param_cb(9)core_param(9)core_param_unsafe(9)__core_param_cb(9)module_param_string(9)parameq(9)parameqn(9)module_param_array(9)module_param_array_named(9)module_param_hw_named(9)module_param_hw_array(9)
thatβs the whole page, bestie π«Ά β from ./include/linux, dated October 2026, and itβs literally module_param_named_unsafe(9). mwah πβ¨
π¦ 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