plpks_get_wrappingfeatures(9)
π plpks_get_wrappingfeatures β a Kernel API Manual moment
okay so bestie, we're in the Kernel API Manual today and the star of the show is plpks_get_wrappingfeatures. yes that's a mouthful, yes it's iconic, no we are not skipping it π
β¨ NAME β¨
plpks_get_wrappingfeatures β literally just returns a bitmask of the wrapping features supported by the hypervisor. that's it. that's the whole vibe π
πΈ SYNOPSIS πΈ
u64 plpks_get_wrappingfeatures (void );
π¦ ARGUMENTS π¦
voidβ no arguments. nothing. zero. the void is the point, ngl π
π DESCRIPTION π
so here's the tea β β when initialization happens and the H_PKS_GET_CONFIG HCALL runs successfully, it reads a bitmask of the wrapping features supported by the hypervisor into the file local static wrappingfeatures variable. slay.
but listen β this is only valid when the PLPKS config structure version is >= 3. like, version 3 or higher, periodt. don't come for this function with your version 2 energy, it's not gonna work out π
β RETURN β
bitmask of the wrapping features supported by the hypervisor. king behavior honestly π
π«Ά SEE ALSO π«Ά
- Kernel file
./arch/powerpc/platforms/pseries/plpks.c 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_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, that's the whole friend group right there. go say hi to all of them, iykyk π
fr fr one (1) thing to remember: version >= 3 or it's giving invalid. no cap.
and that's a wrap on our little plpks journey bestie!! π§ this came to you courtesy of ./arch/powerpc/platforms/pseries β the source β and it's dated October 2026 β so yeah, mark your calendars, screenshot the group chat, and go read some kernel code ππ
π¦ 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