sysfs_groups_change_owner(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

sysfs_groups_change_owner(9) β€” straight from the Kernel API Manual, bestie β€” does exactly what it says: it changes the owner of a set of attribute groups. No cap, it’s giving β€œownership glow-up” energy. 🫢✨

✨ SYNOPSIS ✨

int sysfs_groups_change_owner (struct kobject *kobj , const struct attribute_group *const *groups , kuid_t kuid , kgid_t kgid );

πŸŽ€ ARGUMENTS πŸŽ€

  • kobj β€” the kobject that’s holding the groups. Main character container energy. πŸ’…
  • groups β€” the attribute groups in question. The whole squad. πŸ¦‹
  • kuid β€” the new owner’s kuid. New owner, who dis? πŸ‘‘
  • kgid β€” the new owner’s kgid. Matching group vibe. 🌸

πŸ’œ DESCRIPTION πŸ’œ

Returns 0 on success or an error code on failure. That’s literally it: success says 0, failure hands you an error code. Vibe check complete. ✨

🌈 SEE ALSO 🌈


Cute little sign-off bestie: this page lives at ./fs/sysfs, it’s dated October 2026, and its full name is sysfs_groups_change_owner(9). Bye, love you, read your kernel docs πŸ’‹πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from