Commit Graph

1115 Commits

Author SHA1 Message Date
8ec16474f7 remove contrib/passwd-assign0.awk 2022-07-27 07:48:14 -07:00
4bd44d10b7 getpwent/getgrent: advance iterator only on success 2022-07-21 11:23:13 +03:00
2ceb3d5c29 make unix2db tests more robust 2022-07-21 11:12:04 +03:00
ef436294e9 wip compress-debug-sections 2022-07-20 14:30:48 +03:00
6c311b786f Corpus: do not fix up the data
see the comment.
2022-07-20 05:37:19 +03:00
e34ee1d66b initgroups_dyn allocator optimization 2022-07-20 05:37:02 +03:00
a5f50fd63e uncomment for upstream compatibility 2022-07-15 11:33:27 +03:00
d306821b53 update README 2022-07-15 11:14:46 +03:00
7960cf25c9 rewrite initgroups_dyn 2022-07-15 10:34:38 +03:00
4aee66fb11 wip: comment out primary gid exception 2022-07-15 09:29:42 +03:00
bd13e6a322 turbonss-analyze: most memberships 2022-07-15 09:01:51 +03:00
8ceacc04b8 rename turbo to turbonss 2022-07-15 08:11:05 +03:00
7192d0d333 read environment variables well 2022-07-14 21:31:33 +03:00
cf6cf0c671 add a TODO 2022-07-14 20:09:42 +03:00
b720b7f613 wip omit_members 2022-07-14 20:05:24 +03:00
63a6756a6b fix initgroups_dyn 2022-07-14 19:58:05 +03:00
f63c7f317c known APIs work now 2022-07-14 19:22:39 +03:00
c883dcd52c make getgr* work 2022-07-14 19:14:47 +03:00
8db43a537b setpw/endpw* now iterate 2022-07-14 18:39:30 +03:00
43015f4d1d fixes for libnss.zig
- global state is a pointer; avoid copying
- fix getgr* tests
2022-07-14 17:59:21 +03:00
abf7edf14c finish(?) turbonss-getent 2022-07-14 11:10:45 +03:00
c4e84be1a9 turbonss-getent: use 4K buffered writer 2022-07-14 06:46:50 +03:00
d731fe377b skip membership if already in the primary group 2022-07-14 06:30:45 +03:00
7a27c06f7b fix turbo-getent unit test 2022-07-14 06:15:21 +03:00
3fac6a82e5 make corpus more realistic
- the group of the user's gid should not contain the user as the member.
- fix all tests
2022-07-14 06:13:42 +03:00
de1ab2d0d1 turbo-getgroup: the primary users should not be returned 2022-07-12 14:05:45 +03:00
2cdc2ae6c6 prefix test cases with context 2022-07-12 12:59:50 +03:00
c4e8f1f02c turbo-getent group implementation (no tests) 2022-07-12 12:55:46 +03:00
d2407685a0 remove debug code 2022-07-12 12:44:42 +03:00
1a48bb41ea fix type/function name casing 2022-07-11 15:38:32 +03:00
275920a111 gitignore db.turbo 2022-07-11 15:36:00 +03:00
e116dd0c28 wip -- turbo-getent 2022-07-11 15:35:46 +03:00
9a7447eaa1 tests for passwd_all 2022-07-11 14:32:24 +03:00
f0777b9e94 getent passwd 2022-07-11 11:11:25 +03:00
aaf9d2cc67 update turbo-analyze 2022-07-11 06:11:24 +03:00
6ae17fe99d wip: turbo-getent 2022-07-11 06:07:11 +03:00
8877c7d812 rename main files 2022-07-11 05:59:02 +03:00
c8fd5a8c72 analyze: fix test case when db.turbo is in $PWD 2022-07-11 05:44:04 +03:00
55c63b29da support strip in build.zig 2022-07-11 04:54:55 +03:00
292bc4e4e0 shrink turbo-analyze
https://github.com/ziglang/zig/issues/12061
2022-07-09 21:02:03 +03:00
02ddc548f5 debugging libnss_turbo.so.2 2022-07-09 19:04:19 +03:00
eaa56ad32a use bdz_read.c 2022-07-09 18:15:04 +03:00
ac71195144 use SplitBackwardsIterator from stdlib 2022-07-09 17:49:11 +03:00
9f884b96f7 build libnss_turbo.so.2.0.0 2022-07-09 17:33:13 +03:00
78ac541e49 libnss: pass state explicitly 2022-07-09 16:51:44 +03:00
f327fb24ba tests for initgroups_dyn 2022-07-09 16:12:10 +03:00
5fa4a71ddf use omit_members sometimes 2022-07-09 05:38:19 +03:00
434f9e1571 wip initgroups_dyn 2022-07-08 06:29:42 +03:00
df14c1fc67 refactor libnss.zig 2022-07-07 21:23:10 +03:00
98db4ce0b2 wip: setgrent/setpwent + endpwent/endgrent 2022-07-07 16:42:45 +03:00