Commit Graph

80 Commits

Author SHA1 Message Date
Motiejus Jakštys
617c256863 zig update: sort 2023-06-06 18:43:54 +03:00
Motiejus Jakštys
f5b50068b7 zig compatibility 2023-05-19 15:40:27 +03:00
Motiejus Jakštys
4785ed029f restructure README a bit 2023-04-13 12:12:40 +03:00
Motiejus Jakštys
65bd0c9f9d update README 2023-04-13 12:09:03 +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
58c4d1e78f README sections 2023-04-13 11:11:39 +03:00
Motiejus Jakštys
6027508e60 update README 2023-04-13 11:10:47 +03:00
Motiejus Jakštys
abeb25f3e2 bump to zig 0.11.0-dev.2560+602029bb2 2023-04-12 22:24:20 +03:00
Motiejus Jakštys
8d6e8aa4bd upgrade to multi-for syntax 2023-02-24 15:18:33 +02:00
Motiejus Jakštys
345c38eb61 stage2: update README 2023-02-08 16:40:39 +02:00
Motiejus Jakštys
4493b4408c update README 2022-11-30 12:04:12 +02:00
Motiejus Jakštys
422c264df9 zig v0.10 compatibility 2022-11-20 13:33:05 +02:00
8212f3f51a clarify compiler requirements 2022-08-21 06:58:05 +03:00
4d4c8a5be1 analyze command 2022-08-21 06:10:47 +03:00
fbd449b21f Move docs around; finish it 2022-08-21 06:08:21 +03:00
d306821b53 update README 2022-07-15 11:14:46 +03:00
8ceacc04b8 rename turbo to turbonss 2022-07-15 08:11:05 +03:00
02ddc548f5 debugging libnss_turbo.so.2 2022-07-09 19:04:19 +03:00
65b0fa774d wip: turbo-analyze 2022-07-05 09:09:32 +03:00
84eb2ca6f0 change allocator to raw_c_allocator 2022-07-05 06:03:25 +03:00
c00b8b7f9f add notes re. profiling 2022-07-05 06:03:25 +03:00
752b0bac6f pack differently 2022-07-05 06:03:25 +03:00
3c507ffe08 pointer size checker 2022-04-19 06:11:37 +03:00
64bd5df633 replace member strlen with getgr_max and getpw_max
This way we can use buffers in both Zig and C, without the performance
or size penalty.
2022-04-18 19:35:26 +03:00
3447fce9f7 wip groupmembers is 2-alloc away. 2022-04-10 21:00:41 +02:00
c343bf64fb Revert "wip groupmembers is 2-alloc away."
This reverts commit 7c41cbabe7.

Not doing this now.
2022-04-08 16:08:03 +03:00
7c41cbabe7 wip groupmembers is 2-alloc away. 2022-04-08 15:05:56 +03:00
347f0a1392 Write the file
Also move DB and Corpus to their own files while doing that.
2022-03-24 12:36:08 +02:00
4e36d7850e rewrite shells
- Shell is up to 256 bytes long.
- Store up to 255 shells in the Shells area.
- Remove padding from the User struct.
2022-03-17 17:07:33 +01:00
85552c1302 make section names more consistent 2022-03-17 06:26:08 +01:00
5ee8469ec5 tidy up the header structure 2022-03-17 06:10:39 +01:00
249cdb1a31 remove corpus.users and corpus.groups
These use cases are now fully replaced with MultiArrayList
2022-03-15 10:07:05 +02:00
92ee170d54 bdz/cmph nits 2022-03-15 06:35:48 +02:00
6bf3e10eed test packed users iterator 2022-03-15 06:27:03 +02:00
2c4e61d0ed remove redundant sections 2022-03-13 14:22:49 +02:00
c78a2c0def Implement Groupmembers and Groups section without tests 2022-03-10 19:20:25 +02:00
4cc655de24 store members_offset as a varint 2022-03-10 13:02:38 +02:00
9aa52e5a69 offsets are u64, indices are u32 2022-03-10 13:02:38 +02:00
fc469acbf9 offsets are u64 2022-03-10 13:02:38 +02:00
9bf0a35689 add a struct for all sections 2022-03-10 13:02:38 +02:00
c6a133d175 another completed section 2022-03-06 18:03:22 +02:00
e17b2c9641 expose native shell sections 2022-03-05 06:08:01 +02:00
b81072f726 add usergids 2022-03-04 10:55:09 +02:00
a4e3e08f5f packing shell sections 2022-03-03 18:05:46 +02:00
9721e1be7f start with real sections 2022-03-02 06:50:15 +02:00
40deb3f0be preparing for bringing this all together 2022-02-28 06:19:32 +02:00
df8ab1fbbf PackedGroup 2022-02-27 18:40:05 +02:00
b924e3a935 start packed group 2022-02-24 10:13:26 +02:00
3bf1b3fc01 bring back additional_gids_offset 2022-02-24 05:32:27 +02:00
4f1bada988 start with cmph.zig and bdz.zig 2022-02-23 18:24:23 +02:00