plpks_get_supportedpolicies(9)
π plpks_get_supportedpolicies(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual corner π this entry is short, iconic, and lowkey all about asking the hypervisor which policies it supports. no cap. β¨
πΈ NAME πΈ
plpks_get_supportedpolicies β Get a bitmask of the policies supported by the hypervisor. periodt. π
β¨ SYNOPSIS β¨
u32 plpks_get_supportedpolicies (void );
π ARGUMENTS π
voidβ no arguments. literally none. the function said βi need zero thingsβ and meant it. π«Ά
π¦ DESCRIPTION π¦
okay so hereβs the tea: when H_PKS_GET_CONFIG HCALL runs successfully during initialization, it reads a bitmask of the policies supported by the hypervisor into the file local static supportedpolicies variable. thatβs the whole plot. main character energy for a static variable, honestly. π
bestie note: the bitmask is the bitmask β no extra decoding on this page, iykyk. π
π₯ RETURN π₯
On success, the bitmask of the policies supported by the hypervisor are returned, 0 if not. thatβs it. no cap. β
π SEE ALSO π
Kernel file: ./arch/powerpc/platforms/pseries/plpks.c β go read it, bestie, itβs the source of truth. π
the whole plpks friend group, fr fr:
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_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)
xoxo, source/version ./arch/powerpc/platforms/pseries, dated October 2026 π
slay. π
π¦ 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