qid_has_mapping(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Hii bestie, meet qid_has_mapping from the Kernel API Manual, section 9. πŸ’–

This one is here to report if a qid maps into a user namespace β€” literally that, no cap. ✨


✨ SYNOPSIS ✨

bool qid_has_mapping (struct user_namespace *ns , struct kqid qid );

πŸ’… ARGUMENTS πŸ’…

  • ns β€” the user namespace you're checking, aka the one to see if a value maps into. 🫢
  • qid β€” the kernel internal quota identifier to test, the little qid in question. πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/quota.h is holding the related refs, bestie: make_kqid(9), make_kqid_invalid(9), make_kqid_uid(9), make_kqid_gid(9), and make_kqid_projid(9). 🌈


Source/version and date check, periodt: ./include/linux, October 2026, and yes β€” qid_has_mapping(9). Mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from