[Rpm-maint] [rpm-software-management/rpm] Add back support for NSS-based user/group resolution (PR #4085)

Panu Matilainen notifications at github.com
Tue Jan 20 11:39:12 UTC 2026


@pmatilai commented on this pull request.



> @@ -17,37 +20,39 @@ using std::unordered_map;
 using std::string;
 
 struct rpmug_s {
-    char *pwpath;
-    char *grppath;
-    unordered_map<uid_t,string> uidMap;
-    unordered_map<gid_t,string> gidMap;
-    unordered_map<string,uid_t> unameMap;
-    unordered_map<string,gid_t> gnameMap;
+    char *path;
+    int fromMacro;
+    unordered_map<id_t,string> idMap;
+    unordered_map<string,id_t> nameMap;

Yep, dealing with that difference that isn't a difference is the cause for a lot of pain in the existing code :smile: 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4085#discussion_r2707982298
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/4085/review/3681756049 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260120/5d708dc4/attachment.htm>


More information about the Rpm-maint mailing list