]> git.ipfire.org Git - thirdparty/systemd.git/commit
user-record: Make user and group matching functions total
authorMichal Koutný <mkoutny@suse.com>
Fri, 28 Feb 2025 14:28:04 +0000 (15:28 +0100)
committerMichal Koutný <mkoutny@suse.com>
Mon, 3 Mar 2025 18:27:12 +0000 (19:27 +0100)
commit75e2d70eef97e92499e658829f7c3e3b4d82e4de
tree334b518a622d3f73c2954a7f59e59a8e52fdd730
parenteaeb96125a16f7cf7b071391c2d3456a8397f251
user-record: Make user and group matching functions total

Since we can evaluate even the case with invalid ids (non-matching) we
can switch the function to pure boolean with no error cases and simpler
(none) return error handling.
src/shared/group-record.c
src/shared/group-record.h
src/shared/user-record.c
src/shared/user-record.h
src/shared/userdb.c