plpks_get_passwordlen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


source/version is ./arch/powerpc/platforms/pseries and the date is October 2026 β€” mwah, love u, bye πŸ’‹πŸŽ€

πŸ“¦ where this page comes from