aboutsummaryrefslogtreecommitdiffstats
path: root/src/userinfo.c
AgeCommit message (Collapse)AuthorLines
2023-11-20src|tests: Address warning -Wstrict-prototypesSebastian Pipping-11/+11
Symptom with Clang 15: > In file included from userinfo.c:20: > ./userinfo.h:38:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] > void invalidate_user_cache(); /* safe to call from signal handler */ > ^ > void > [many more]
2021-02-15Fixed permchain.c on older compilers. Enabled -Wpedantic.Martin Pärtel-1/+1
2021-02-13Refactored and unit-tested filter_special_opts. Shaved a bunch of yaks on ↵Martin Pärtel-0/+1
the way.
2020-04-13On UID/GID DB read failure, print non-debug message and tolerate ENOENT.Martin Pärtel-2/+8
2020-04-13Call setpwent() and setgrent().Martin Pärtel-0/+4
Docs aren't super clear about whether endpwent() and endgrent() do the same.
2019-12-21Don't check that numeric UIDs and GIDs exist in user database.Martin Pärtel-48/+16
A user database is not always available. For #79.
2018-01-14Internal renames.Martin Pärtel-13/+13
2014-06-11Fix caching of group membersAndrej Lajovic-1/+0
2014-05-10(removed trailing spaces)Martin Pärtel-20/+20
2012-07-04Cache user data for user_belongs_to_group().Martin Pärtel-49/+261
This considerably speeds up --mirror @group.
2011-07-08Initial commit to git.Martin Pärtel-0/+177