sysfs_groups_change_owner(9)
π 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βskuid. New owner, who dis? πkgidβ the new ownerβskgid. 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 π
- Kernel file
./fs/sysfs/group.c sysfs_create_group(9)sysfs_create_groups(9)sysfs_update_groups(9)sysfs_update_group(9)sysfs_remove_group(9)sysfs_remove_groups(9)sysfs_merge_group(9)sysfs_unmerge_group(9)sysfs_add_link_to_group(9)sysfs_remove_link_from_group(9)compat_only_sysfs_link_entry_to_kobj(9)sysfs_group_change_owner(9)
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
- 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