plpks_get_passwordlen(9)
NAME π
okay so welcome to plpks_get_passwordlen(9) from the Kernel API Manual β this one is literally plpks_get_passwordlen, and its whole thing is getting the length of the PLPKS password in bytes. periodt. β¨
SYNOPSIS π
the signature is exactly this, bestie:
u16 plpks_get_passwordlen (void );
ARGUMENTS π¦
voidβ no arguments. not a single one. it's giving minimalist icon behavior π
DESCRIPTION πΈ
The H_PKS_GEN_PASSWORD HCALL makes the hypervisor generate a random password for the specified consumer, apply that password to the PLPKS and return it to the caller. In this process, the password length for the OS consumer is stored in the local static ospasswordlength variable. that's the whole tea, no cap π«
so yeah, it's lowkey a tiny helper-function moment: the length ends up chillin' in that local static ospasswordlength variable, and this function is here for it. π§
RETURN β
On success, the password length for the OS consumer in bytes is returned. If not, 0. that's it, that's the return value ππ
SEE ALSO π₯
Kernel file ./arch/powerpc/platforms/pseries/plpks.c
the whole bestie lineup, in all its glory:
plpks_get_version(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_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)
source/version is ./arch/powerpc/platforms/pseries and the date is October 2026 β mwah, love u, bye ππ
π¦ 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