sunrpc_nl_pa...one_unix_gid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sunrpc_nl_pa...one_unix_gid(9) ✨

okay so this is from the Kernel API Manual, section 9 (that's the kernel-functions girlies πŸŽ€), and bestie, we're about to parse one whole unix_gid entry. just one. she's eepy but she's iconic πŸ’–


🌸 NAME 🌸

sunrpc_nl_parse_one_unix_gid β€” literally parses one unix_gid entry straight out of netlink, no cap πŸ¦‹


✨ SYNOPSIS ✨

int sunrpc_nl_parse_one_unix_gid (struct cache_detail *cd , struct
       nlattr *attr );

that's it. two args. she's low-maintenance πŸ’…


🫢 ARGUMENTS 🫢

  • cd β€” the cache_detail for the unix_gid cache. this is the cache she's gonna go update, so like… bring the right one, bestie πŸ™ˆ
  • attr β€” a nested attribute holding all the unix_gid fields. it's giving little nest of data πŸͺΊ

⭐ DESCRIPTION ⭐

so the whole vibe is: she parses one unix_gid entry out of a netlink message and then goes and updates the cache. main character energy, honestly πŸ‘‘

and ngl, she mirrors the logic in unix_gid_parse β€” like, same brain, different function. iykyk πŸ’€

she returns 0 on success, or a negative errno if things went sideways 😭 not a bool, not a pointer, an errno. periodt.


πŸ”₯ SEE ALSO πŸ”₯

go read those too, they're all in the group chat πŸ’¬βœ¨


πŸ’€ reminder: the return is negative errno on failure β€” don't go checking for positive numbers, she will not deliver, bestie.

and that's the whole page!! πŸ“ brought to you from ./net/sunrpc, dated October 2026, and stamped with the manual name sunrpc_nl_pa...one_unix_gid(9) β€” she's short, she's sweet, she parses one entry at a time and she slays πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from