1
Fork 0
Commit Graph

258 Commits (main)

Author SHA1 Message Date
Motiejus Jakštys 238af6eb4a add README note about breakage 2023-08-22 17:59:51 +03:00
Motiejus Jakštys 993a29d2f8 zig 0.11 2023-08-21 16:40:19 +03:00
Motiejus Jakštys ff0f5bca77 bump to zig 0.11.0-dev.3735+a72d634b7 2023-06-20 13:01:42 +03:00
Motiejus Jakštys a447e7fdf4 safety checks in group parsing 2023-06-06 21:13:12 +03:00
Motiejus Jakštys e1cae43d08 more safety checks in user parsing 2023-06-06 21:13:12 +03:00
Motiejus Jakštys 277a48296a compress: handle overflows in varints
This handles corrupt data explicitly.
2023-06-06 21:13:12 +03:00
Motiejus Jakštys d6150734f1 syntax cosmetics 2023-06-06 21:13:12 +03:00
Motiejus Jakštys 65914ddcd6 libnss: fail early 2023-06-06 19:27:32 +03:00
Motiejus Jakštys 325c01b341 fix one TODO 2023-06-06 19:12:46 +03:00
Motiejus Jakštys 4962c7286b add Group Members Iterator 2023-06-06 19:05:14 +03:00
Motiejus Jakštys ef4062edb7 doc nitpicks 2023-06-06 18:55:36 +03:00
Motiejus Jakštys 617c256863 zig update: sort 2023-06-06 18:43:54 +03:00
Motiejus Jakštys 6d957967ed multi_array_list: use slice() when possible 2023-05-19 16:12:33 +03:00
Motiejus Jakštys 82ab622c66 close a TODO 2023-05-19 16:04:21 +03:00
Motiejus Jakštys f5b50068b7 zig compatibility 2023-05-19 15:40:27 +03:00
Motiejus Jakštys d7ca840de8 styling some for loops 2023-04-13 11:26:26 +03:00
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