1
Fork 0
Commit Graph

68 Commits

Author SHA1 Message Date
Motiejus Jakštys 8212f3f51a clarify compiler requirements 2022-08-21 06:58:05 +03:00
Motiejus Jakštys 4d4c8a5be1 analyze command 2022-08-21 06:10:47 +03:00
Motiejus Jakštys fbd449b21f Move docs around; finish it 2022-08-21 06:08:21 +03:00
Motiejus Jakštys d306821b53 update README 2022-07-15 11:14:46 +03:00
Motiejus Jakštys 8ceacc04b8 rename turbo to turbonss 2022-07-15 08:11:05 +03:00
Motiejus Jakštys 02ddc548f5 debugging libnss_turbo.so.2 2022-07-09 19:04:19 +03:00
Motiejus Jakštys 65b0fa774d wip: turbo-analyze 2022-07-05 09:09:32 +03:00
Motiejus Jakštys 84eb2ca6f0 change allocator to raw_c_allocator 2022-07-05 06:03:25 +03:00
Motiejus Jakštys c00b8b7f9f add notes re. profiling 2022-07-05 06:03:25 +03:00
Motiejus Jakštys 752b0bac6f pack differently 2022-07-05 06:03:25 +03:00
Motiejus Jakštys 3c507ffe08 pointer size checker 2022-04-19 06:11:37 +03:00
Motiejus Jakštys 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
Motiejus Jakštys 3447fce9f7 wip groupmembers is 2-alloc away. 2022-04-10 21:00:41 +02:00
Motiejus Jakštys c343bf64fb Revert "wip groupmembers is 2-alloc away."
This reverts commit 7c41cbabe7.

Not doing this now.
2022-04-08 16:08:03 +03:00
Motiejus Jakštys 7c41cbabe7 wip groupmembers is 2-alloc away. 2022-04-08 15:05:56 +03:00
Motiejus Jakštys 347f0a1392 Write the file
Also move DB and Corpus to their own files while doing that.
2022-03-24 12:36:08 +02:00
Motiejus Jakštys 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
Motiejus Jakštys 85552c1302 make section names more consistent 2022-03-17 06:26:08 +01:00
Motiejus Jakštys 5ee8469ec5 tidy up the header structure 2022-03-17 06:10:39 +01:00
Motiejus Jakštys 249cdb1a31 remove corpus.users and corpus.groups
These use cases are now fully replaced with MultiArrayList
2022-03-15 10:07:05 +02:00
Motiejus Jakštys 92ee170d54 bdz/cmph nits 2022-03-15 06:35:48 +02:00
Motiejus Jakštys 6bf3e10eed test packed users iterator 2022-03-15 06:27:03 +02:00
Motiejus Jakštys 2c4e61d0ed remove redundant sections 2022-03-13 14:22:49 +02:00
Motiejus Jakštys c78a2c0def Implement Groupmembers and Groups section without tests 2022-03-10 19:20:25 +02:00
Motiejus Jakštys 4cc655de24 store members_offset as a varint 2022-03-10 13:02:38 +02:00
Motiejus Jakštys 9aa52e5a69 offsets are u64, indices are u32 2022-03-10 13:02:38 +02:00
Motiejus Jakštys fc469acbf9 offsets are u64 2022-03-10 13:02:38 +02:00
Motiejus Jakštys 9bf0a35689 add a struct for all sections 2022-03-10 13:02:38 +02:00
Motiejus Jakštys c6a133d175 another completed section 2022-03-06 18:03:22 +02:00
Motiejus Jakštys e17b2c9641 expose native shell sections 2022-03-05 06:08:01 +02:00
Motiejus Jakštys b81072f726 add usergids 2022-03-04 10:55:09 +02:00
Motiejus Jakštys a4e3e08f5f packing shell sections 2022-03-03 18:05:46 +02:00
Motiejus Jakštys 9721e1be7f start with real sections 2022-03-02 06:50:15 +02:00
Motiejus Jakštys 40deb3f0be preparing for bringing this all together 2022-02-28 06:19:32 +02:00
Motiejus Jakštys df8ab1fbbf PackedGroup 2022-02-27 18:40:05 +02:00
Motiejus Jakštys b924e3a935 start packed group 2022-02-24 10:13:26 +02:00
Motiejus Jakštys 3bf1b3fc01 bring back additional_gids_offset 2022-02-24 05:32:27 +02:00
Motiejus Jakštys 4f1bada988 start with cmph.zig and bdz.zig 2022-02-23 18:24:23 +02:00
Motiejus Jakštys 6c386e720e update README 2022-02-23 10:45:05 +02:00
Motiejus Jakštys b58063ef63 Implementation status for each section 2022-02-23 06:31:25 +02:00
Motiejus Jakštys bb4b5eba03 add utf8 validation; rework user iterator 2022-02-23 06:09:42 +02:00
Motiejus Jakštys 0e5365127a increase gecos length 2022-02-22 15:22:30 +02:00
Motiejus Jakštys e06cac38b2 remove 3 bytes from PackedUser
additional_gids will be stored separately.
2022-02-22 15:16:45 +02:00
Motiejus Jakštys 78dc63669d add tests for upper limits 2022-02-22 15:04:59 +02:00
Motiejus Jakštys 5f0d9bb176 rename username2user 2022-02-19 16:09:46 +02:00
Motiejus Jakštys 13b75e8046 user packing 2022-02-19 11:35:29 +02:00
Motiejus Jakštys 93c6a1c12a rename shell_len_or_place to _idx 2022-02-18 20:36:32 +02:00
Motiejus Jakštys 411fb91fd1 test and README tiny updates 2022-02-18 17:26:35 +02:00
Motiejus Jakštys 8c8570e6d1 start with Header 2022-02-17 11:55:05 +02:00
Motiejus Jakštys f584642cca shellpop skeleton 2022-02-15 20:27:24 +02:00