STRUCT SEV_USER_DATA_GET_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct sev_user_data_get_id β€” Kernel API Manual, section 9 πŸ’–

okay bestie, welcome to the lore drop on struct sev_user_data_get_id β€” it's a kernel API manual page (section 9, the big-kid section). Buckle up, it's short but it's iconic. πŸ‘‘


✨ NAME ✨

struct sev_user_data_get_id β€” the GET_ID command parameters. and yeah... it's deprecated 😭 (she's a legacy queen, we still respect her).


🌸 SYNOPSIS 🌸

here's the whole glow-up, verbatim, no cap:

struct sev_user_data_get_id {
    __u8 socket1[64];
    __u8 socket2[64];
 };

like... that's it. that's the struct. two buffers, 64 bytes each, living their best life. πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • socket1 β€” a buffer whose whole job is to pass along the unique ID of the first socket πŸ’…
  • socket2 β€” same energy, but for the second socket. unique ID goes here. periodt. ✨
lowkey reminder: the whole thing is deprecated, so if you're out here building something new with it, that's giving "living in the past" ngl πŸ™ˆ

🌈 SEE ALSO 🌈

go touch some other docs, bestie β€” they're all linked up in the kernel tree, file ./include/uapi/linux/psp-sev.h:

  • struct sev_user_data_status(9)
  • struct sev_user_data_pek_csr(9)
  • struct sev_user_data_pdh_cert_export(9)
  • struct sev_user_data_get_id2(9)
  • struct sev_user_data_snp_status(9)
  • struct sev_user_data_snp_config(9)
  • struct sev_issue_cmd(9)

(the get_id2 one is right there if you want the sequel πŸ‘€ slay.)


okay that's the whole page, you ate that 🫢 source/version lives at ./include/uapi/linux and the date stamp is October 2026 β€” so yeah, future vibes only. mwah πŸ’‹ πŸ§šβ€β™€οΈ bye bestie!!

πŸ“¦ where this page comes from