STRUCT BINDER_FD_OBJECT(9)
π NAME π
okay bestie, welcome to the Kernel API Manual page for struct binder_fd_object(9) β this is the iconic struct that describes a filedescriptor to be fixed up. π
β¨ SYNOPSIS β¨
here's the exact shape, no cap β every field, every semicolon, untouched:
struct binder_fd_object {
struct binder_object_header hdr;
__u32 pad_flags;
union {
binder_uintptr_t pad_binder;
__u32 fd;
};
binder_uintptr_t cookie;
};
π Members π
hdrβ common header structure. π«Άpad_flagsβ padding to remain compatible with old userspace code. β¨{unnamed_union}β anonymous. π not me naming the unnamed union πpad_binderβ padding to remain compatible with old userspace code. πfdβ file descriptor. πcookieβ opaque data, used by user-space. πͺ
π SEE ALSO π
- Kernel file
./include/uapi/linux/android/binder.hstruct binder_object_header(9)
xoxo, signing off from source/version ./include/uapi/linux/android, dated October 2026 β literally the cutest source + date combo, 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