1
Fork 0
Commit Graph

32 Commits

Author SHA1 Message Date
Motiejus Jakštys 1751f6c996 replace PackedUserHash with simple PackedUser
passing hashes is OK
2022-03-10 19:20:25 +02:00
Motiejus Jakštys c78a2c0def Implement Groupmembers and Groups section without tests 2022-03-10 19:20:25 +02:00
Motiejus Jakštys d6ba7bed63 group_members 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 ba56ff8d3b user gids are unpadded 2022-03-10 13:02:38 +02:00
Motiejus Jakštys 8fbd605b8d use Multi where appropriate 2022-03-10 13:02:38 +02:00
Motiejus Jakštys 15e018389a username2groups -> user2groups 2022-03-10 13:02:38 +02:00
Motiejus Jakštys c79741f4e2 groupname2users -> group2users 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 d2ace3e125 remove redundant fields 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 1caf3f1184 some explicit errors in function signatures 2022-03-06 18:01:52 +02:00
Motiejus Jakštys d3be68b51d generalize Shell2Index for hash and test stubs 2022-03-06 17:55:29 +02:00
Motiejus Jakštys a6349cd114 wip writing of users 2022-03-06 13:11:06 +02:00
Motiejus Jakštys e3fd1c833c userGids unit test 2022-03-06 09:57:44 +02:00
Motiejus Jakštys ec95b231fa varint iterator 2022-03-05 10:19:42 +02:00
Motiejus Jakštys e17b2c9641 expose native shell sections 2022-03-05 06:08:01 +02:00
Motiejus Jakštys 869f3f3a65 less memory thrashing 2022-03-05 05:40:00 +02:00
Motiejus Jakštys 87c424aab9 get rid of Corpus struct
it had some non-useful internal state
2022-03-04 11:12:04 +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 e1bdb6c529 more robust bdz for numbers + helpers 2022-03-03 11:32:12 +02:00
Motiejus Jakštys 4fc54e5b65 [Section] slices instead of ArrayLists
It will need to be only indexed and interated anyway.
2022-03-02 07:15:08 +02:00
Motiejus Jakštys 9721e1be7f start with real sections 2022-03-02 06:50:15 +02:00
Motiejus Jakštys a526379fd8 cosmetic changes 2022-03-02 06:18:19 +02:00
Motiejus Jakštys 9392922216 some negative tests 2022-03-02 06:02:45 +02:00
Motiejus Jakštys 321d1f6afd sort and use unmanaged ArrayLists 2022-03-02 06:02:04 +02:00
Motiejus Jakštys e5870a95fe make corpus smoke test pass 2022-03-02 05:42:23 +02:00
Motiejus Jakštys 3c4455efeb cloning users and groups 2022-03-01 15:03:51 +02:00
Motiejus Jakštys 7df1296ce1 corpus test passing 2022-03-01 05:47:44 +02:00
Motiejus Jakštys 3eec9a3274 starting with sections 2022-02-28 20:34:15 +02:00