plpks_read_bootloader_var(9)
π NAME π
plpks_read_bootloader_var β okay bestie, this is the one that fetches the data for the specified variable owned by the bootloader consumer. Itβs giving βbootloaderβs own little PLPKS situation,β and weβre obsessed.
β¨ SYNOPSIS β¨
int plpks_read_bootloader_var (struct plpks_var *var );
π ARGUMENTS π
varβ the variable to be read from the PLPKS. Thatβs the whole argument, no cap.
π DESCRIPTION π
okay so the consumer or the owner of the object is the bootloader. The H_PKS_READ_OBJECT HCALL reads an object from the PLPKS. The caller must allocate the buffer var->data and specify the length for this buffer in var->datalen. If no buffer is provided, var->datalen will be populated with the requested objectβs size β literally the requested objectβs size, bestie.
possible reasons for the returned errno values are giving:
-ENXIOβ if PLPKS is not supported.-EIOβ if PLPKS access is blocked due to the LPARβs state, if an error occurred while processing the request.-EINVALβ if invalid authorization parameter, if invalid object label parameter, if invalid object label len parameter, if invalid output data parameter, if invalid output data len parameter.-EPERMβ if access is denied.-ENOENTβ if the requested object was not found.-EFBIGβ if the requested object couldnβt be stored in the buffer provided.-EBUSYβ if unable to handle the request.
β RETURN β
On success 0 is returned, a negative errno if not. Thatβs the vibe check, periodt.
π SEE ALSO π
Kernel file ./arch/powerpc/platforms/pseries/plpks.c, plus all these iconic section 9 friends:
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_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_populate_fdt(9)plpks_early_init_devtree(9)
mwah π this page is plpks_read_bootloader_var(9), source/version ./arch/powerpc/platforms/pseries, dated October 2026. bye bestie π«Ά
π¦ 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