1
Fork 0
Commit Graph

242 Commits

Author SHA1 Message Date
Motiejus Jakštys c9bb95f395 avg-members -> max-members
that's what it really means.
2023-04-13 11:19:45 +03:00
Motiejus Jakštys f55fb9f86a keep_sigpipe
we want the unix-y sigpipe handler.
2023-02-24 15:22:40 +02:00
Motiejus Jakštys 8d6e8aa4bd upgrade to multi-for syntax 2023-02-24 15:18:33 +02:00
Motiejus Jakštys 127d44e375 some stage2 cleanups 2023-02-09 17:08:21 +02:00
Motiejus Jakštys 000080a781 replace padding functions with ones from std.mem 2023-02-08 16:33:15 +02:00
Motiejus Jakštys 0ecd6172fc stage2 2023-02-08 16:13:03 +02:00
Motiejus Jakštys fbd449b21f Move docs around; finish it 2022-08-21 06:08:21 +03:00
Motiejus Jakštys 8bfc4a30cd wip turbonss-unix2systemd 2022-08-20 19:08:04 +03:00
Motiejus Jakštys b350e8d096 libnss fix: allocate a sufficient array for u32s
we did not multiply by the element size before
2022-08-09 07:45:09 -07:00
Motiejus Jakštys 7be5743651 libnss: read /proc/self/cmdline 2022-08-08 00:49:34 -07:00
Motiejus Jakštys 8c2612c025 makecorpus: more reasonable defaults 2022-08-07 23:53:21 -07:00
Motiejus Jakštys f5131ebe70 turbonss-makecorpus: larger defaults 2022-08-06 23:54:35 -07:00
Motiejus Jakštys 5178149852 clean up turbonss-makecorpus 2022-08-04 23:18:43 -07:00
Motiejus Jakštys 1dfdd3cdbd iterator: make advance/rollback more understandable
untested
2022-08-04 22:51:55 -07:00
Motiejus Jakštys af7ba5edcf add turbonss-makecorpus 2022-07-29 10:29:27 -07:00
Motiejus Jakštys 4bd44d10b7 getpwent/getgrent: advance iterator only on success 2022-07-21 11:23:13 +03:00
Motiejus Jakštys 2ceb3d5c29 make unix2db tests more robust 2022-07-21 11:12:04 +03:00
Motiejus Jakštys 6c311b786f Corpus: do not fix up the data
see the comment.
2022-07-20 05:37:19 +03:00
Motiejus Jakštys e34ee1d66b initgroups_dyn allocator optimization 2022-07-20 05:37:02 +03:00
Motiejus Jakštys a5f50fd63e uncomment for upstream compatibility 2022-07-15 11:33:27 +03:00
Motiejus Jakštys 7960cf25c9 rewrite initgroups_dyn 2022-07-15 10:34:38 +03:00
Motiejus Jakštys 4aee66fb11 wip: comment out primary gid exception 2022-07-15 09:29:42 +03:00
Motiejus Jakštys bd13e6a322 turbonss-analyze: most memberships 2022-07-15 09:01:51 +03:00
Motiejus Jakštys 8ceacc04b8 rename turbo to turbonss 2022-07-15 08:11:05 +03:00
Motiejus Jakštys 7192d0d333 read environment variables well 2022-07-14 21:31:33 +03:00
Motiejus Jakštys cf6cf0c671 add a TODO 2022-07-14 20:09:42 +03:00
Motiejus Jakštys b720b7f613 wip omit_members 2022-07-14 20:05:24 +03:00
Motiejus Jakštys 63a6756a6b fix initgroups_dyn 2022-07-14 19:58:05 +03:00
Motiejus Jakštys f63c7f317c known APIs work now 2022-07-14 19:22:39 +03:00
Motiejus Jakštys c883dcd52c make getgr* work 2022-07-14 19:14:47 +03:00
Motiejus Jakštys 8db43a537b setpw/endpw* now iterate 2022-07-14 18:39:30 +03:00
Motiejus Jakštys 43015f4d1d fixes for libnss.zig
- global state is a pointer; avoid copying
- fix getgr* tests
2022-07-14 17:59:21 +03:00
Motiejus Jakštys abf7edf14c finish(?) turbonss-getent 2022-07-14 11:10:45 +03:00
Motiejus Jakštys c4e84be1a9 turbonss-getent: use 4K buffered writer 2022-07-14 06:46:50 +03:00
Motiejus Jakštys d731fe377b skip membership if already in the primary group 2022-07-14 06:30:45 +03:00
Motiejus Jakštys 7a27c06f7b fix turbo-getent unit test 2022-07-14 06:15:21 +03:00
Motiejus Jakštys 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
Motiejus Jakštys de1ab2d0d1 turbo-getgroup: the primary users should not be returned 2022-07-12 14:05:45 +03:00
Motiejus Jakštys 2cdc2ae6c6 prefix test cases with context 2022-07-12 12:59:50 +03:00
Motiejus Jakštys c4e8f1f02c turbo-getent group implementation (no tests) 2022-07-12 12:55:46 +03:00
Motiejus Jakštys d2407685a0 remove debug code 2022-07-12 12:44:42 +03:00
Motiejus Jakštys 1a48bb41ea fix type/function name casing 2022-07-11 15:38:32 +03:00
Motiejus Jakštys e116dd0c28 wip -- turbo-getent 2022-07-11 15:35:46 +03:00
Motiejus Jakštys 9a7447eaa1 tests for passwd_all 2022-07-11 14:32:24 +03:00
Motiejus Jakštys f0777b9e94 getent passwd 2022-07-11 11:11:25 +03:00
Motiejus Jakštys aaf9d2cc67 update turbo-analyze 2022-07-11 06:11:24 +03:00
Motiejus Jakštys 6ae17fe99d wip: turbo-getent 2022-07-11 06:07:11 +03:00
Motiejus Jakštys 8877c7d812 rename main files 2022-07-11 05:59:02 +03:00
Motiejus Jakštys c8fd5a8c72 analyze: fix test case when db.turbo is in $PWD 2022-07-11 05:44:04 +03:00
Motiejus Jakštys 55c63b29da support strip in build.zig 2022-07-11 04:54:55 +03:00