plpks_get_version(9)
π plpks_get_version β a Kernel API Manual moment (section 9, bestie)
okay so this is plpks_get_version(9) from the Kernel API Manual, and honestly? it's a little one-but-mighty icon. it does exactly one thing and it does it adorably. let's get into it β¨
πΈ NAME πΈ
plpks_get_version β get the version of the PLPKS config structure. that's it. that's the whole job. she's a specialist π
π¦ SYNOPSIS π¦
u8 plpks_get_version (void );
look at her. no drama, no parameters, just vibes and a u8 π
β¨ ARGUMENTS β¨
voidβ no arguments. literally none. she takes nothing from you, she gives everything π«Ά
π DESCRIPTION π
so here's the lore π β during initialization, when the H_PKS_GET_CONFIG HCALL runs successfully, it reads the version of the PLPKS config structure. and then? it saves that version into a file local static version variable. lowkey a little treasure chest, tucked away for later π¦β¨
no cap, that's the whole flow. hcall slays β version gets read β static variable holds onto it π
π₯ RETURN π₯
- on success, you get back that saved PLPKS config structure version π«
- and if not? you get
0. that's the "no thoughts, head empty" answer π
π SEE ALSO π
the whole friend group, fr fr β starting with the kernel file itself:
- Kernel file
./arch/powerpc/platforms/pseries/plpks.c
and then the entire squad, all in section 9:
plpks_get_objoverhead(9)plpks_get_maxpwsize(9)plpks_get_maxobjectsize(9)plpks_get_maxobjectlabelsize(9)plpks_get_totalsize(9)plpks_get_usedspace(9)plpks_get_supportedpolicies(9)plpks_get_maxlargeobjectsize(9)plpks_get_signedupdatealgorithms(9)plpks_get_wrappingfeatures(9)plpks_get_passwordlen(9)plpks_is_available(9)plpks_signed_update_var(9)plpks_write_var(9)plpks_remove_var(9)plpks_wrapping_is_supported(9)plpks_gen_wrapping_key(9)plpks_wrap_object(9)plpks_unwrap_object(9)plpks_read_os_var(9)plpks_read_fw_var(9)plpks_read_bootloader_var(9)plpks_populate_fdt(9)plpks_early_init_devtree(9)
like, twenty-five besties and a source file. iykyk πΈ
ngl, this is the shortest manpage i've ever read and it still ate πβ¨
and that's the whole page, bestie π«Ά sign-off time: this cutie lives in ./arch/powerpc/platforms/pseries, dated October 2026, and it's filed under plpks_get_version(9) in the Kernel API Manual. 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