ipe_set_active_pol(9)
πΈ hey bestie, welcome to ipe_set_active_pol(9) πΈ
This is the Kernel API Manual entry for ipe_set_active_pol(9) β yes, the manual name is right there, we're being fancy π
β¨ NAME β¨
ipe_set_active_pol β Make @p the active policy.
π SYNOPSIS π
int ipe_set_active_pol (const struct ipe_policy *p );
π¦ ARGUMENTS π¦
pβ Supplies a pointer to the policy to make active. That's the whole vibe: hand over the policy pointer and let it become the active one β¨
π CONTEXT π
Requires root->i_rwsem, which i_private has the policy, to be held. So bestie, you gotta be holding that lock before you call this β no cap π
π RETURN π
0β Success π-EINVALβ New active policy version is invalid π
π₯ SEE ALSO π₯
Kernel file ./security/ipe/policy.c ver_to_u64(9), ipe_free_policy(9), ipe_update_policy(9), ipe_new_policy(9) π«Ά
mwah π this cutie lives in ./security/ipe, is dated October 2026, and ipe_set_active_pol(9) is signing off πβ¨
π¦ 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