STRUCT LIVEUPDATE_SESSION_GET_NAME(9)
π NAME π
okay so bestie, this is struct liveupdate_session_get_name β the struct that goes with ioctl(LIVEUPDATE_SESSION_GET_NAME). Yes, that's the whole name. Iconic.
β¨ SYNOPSIS β¨
struct liveupdate_session_get_name {
__u32 size;
__u32 reserved;
__u8 name[LIVEUPDATE_SESSION_NAME_LENGTH];
};
π Members π
sizeβ input, bestie: this one issizeof(struct liveupdate_session_get_name). Literally the size of the struct itself, no cap.reservedβ input, and it must be zero. It's reserved for future use, so leave it alone. π«Άnameβ output: a null-terminated string with the full session name. Full name, full slay. β¨
π Description π
So this ioctl retrieves the full name of the session associated with this file descriptor. The whole reason it exists? The kernel may truncate the name shown in /proc, and that is lowkey annoying, so this gives you the full thing. π
π₯ Return π₯
0 on success, negative error code on failure. That's it. Simple. Gorgeous. π
π«Ά SEE ALSO π«Ά
- Kernel file
./include/uapi/linux/liveupdate.h General ioctl format(9)struct liveupdate_ioctl_create_session(9)struct liveupdate_ioctl_retrieve_session(9)struct liveupdate_session_preserve_fd(9)struct liveupdate_session_retrieve_fd(9)struct liveupdate_session_finish(9)
and that's the vibe check: source/version ./include/uapi/linux, dated October 2026, filed under struct liveu...ion_get_name(9). mwah π
π¦ 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