rdtgroup_lo...user_restore(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rdtgroup_locksetup_user_restore(9) πŸ’…

okay so bestie, this is a Kernel API Manual page, and it's about rdtgroup_locksetup_user_restore β€” yes, the name is a whole mouthful, iykyk. let's get into it ✨


✨ NAME ✨

rdtgroup_locksetup_user_restore β€” restore user access to group 🫢

🌸 SYNOPSIS 🌸

int rdtgroup_locksetup_user_restore (struct rdtgroup *rdtgrp );

πŸŽ€ ARGUMENTS πŸŽ€

  • rdtgrp β€” the resource group that literally needs its access restored, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function restores all file access that was previously removed using rdtgroup_locksetup_user_restrict. That's the whole vibe: undo the restriction and give the files their access back. πŸ’–

πŸ”₯ RETURN πŸ”₯

  • 0 on success, slay βœ…
  • <0 on failure 😭
⚠️ okay important: if a failure happens during the restoration of access, an attempt will be made to restrict permissions again, but the state of the mode of these files will be uncertain when a failure occurs. so yeah, failure here is giving chaos β€” be aware.

🌈 SEE ALSO 🌈

Kernel file ./fs/resctrl/pseudo_lock.c β€” the whole friend group:


kisses bestie πŸ’‹ the source/version line says ./fs/resctrl, the date says October 2026, and this iconic page is rdtgroup_lo...user_restore(9). bye πŸ’œ

πŸ“¦ where this page comes from