ipe_set_active_pol(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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