summaryrefslogtreecommitdiffstats
path: root/src/pwcache.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* ctx: Flush the user/group caches when executing commandsTavian Barnes2022-11-091-0/+16
| | | | | | This fixes (admittedly uncommon) commands like $ bfs -nouser -exec add-missing-user.sh {} \;
* pwcache: Fill the user/group caches lazilyTavian Barnes2022-11-091-24/+28
| | | | | | | Iterating all the users/groups can be expensive, especially with NSS. Android has so many that it doesn't even return them all from get{pw,gr}ent() for performance reasons, leading to incorrect behaviour of -user/-group/etc.
* Source / Include Folder (#88)トトも2022-04-161-0/+117
Moved Source Files Into `src` Folder