asleepymoon
asleepymoon pushed to main at asleepymoon/minitar 2023-01-12 19:45:56 +00:00
bacc971007 docs: Add build instructions
asleepymoon pushed to main at asleepymoon/minitar 2023-01-12 19:06:28 +00:00
8e16524e1c docs: Add a note about examples to README.md
asleepymoon pushed to main at asleepymoon/minitar 2023-01-12 19:04:35 +00:00
e758012948 feat: Add two examples
27dac123f4 fix: Make minitar_read_contents() take a const pointer to entry
912b98d2d7 fix: Include stddef.h in minitar.h to make sure we have size_t
Compare 3 commits »
asleepymoon pushed to main at asleepymoon/minitar 2023-01-12 18:34:43 +00:00
5be3c7d684 Enable syntax highlighting for the sample program
asleepymoon released minitar 1.4.0 at asleepymoon/minitar 2023-01-12 18:22:51 +00:00
asleepymoon pushed tag 1.4.0 to asleepymoon/minitar 2023-01-12 18:22:51 +00:00
asleepymoon pushed to main at asleepymoon/minitar 2023-01-12 18:20:41 +00:00
dead1e3ee2 feat: Move all internal structures to a minitar_entry_internal struct
asleepymoon pushed to main at asleepymoon/minitar 2023-01-12 18:16:00 +00:00
07c156c30b docs: Move API docs to docs/API.md and link there from README
a790b6f960 docs: Clarify some sentences
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/minitar 2023-01-12 18:02:04 +00:00
d9b0dce41a Remove minitar_panic() wrapper around minitar_handle_panic()
e568e88617 Remove assertion that was not used
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-01-11 22:02:55 +00:00
586ca19b62 Add a VERY BASIC and hacky way of allocating memory from userspace
0e1e15e85a Result: Construct a Result from an Option using from_option()
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/minitar 2023-01-11 20:02:45 +00:00
7b83dce96a feat: calculate header checksums and validate them against hdr->chksum
asleepymoon closed issue asleepymoon/minitar#2 2023-01-11 20:02:45 +00:00
Checksum validation
asleepymoon pushed to main at asleepymoon/Luna 2023-01-11 18:26:57 +00:00
79a5b98d65 Kernel: Keep the user pointer const through copy_from_user()
asleepymoon pushed to main at asleepymoon/Luna 2023-01-11 18:25:36 +00:00
6e4cd6300d Kernel: Add copy_from_user() and copy_from_user_typed()
asleepymoon pushed to main at asleepymoon/Luna 2023-01-11 18:14:46 +00:00
73ddd0b0c5 tools: Be more arch-agnostic
asleepymoon pushed to main at asleepymoon/Luna 2023-01-11 17:44:33 +00:00
d150c55143 TarStream: Support mode
asleepymoon pushed to main at asleepymoon/Luna 2023-01-11 16:31:01 +00:00
82b555cf5c TarStream: Refactor the API to get rid of that awful method in Result
asleepymoon pushed to main at asleepymoon/Luna 2023-01-11 16:09:47 +00:00
6cf042e65e Result: Remove m_has_value, rely on Option::has_value()
67ebb00bd3 Option, Result: Introduce try_move_value(), which is the release_value() equivalent of try_set_value()
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-01-10 18:31:56 +00:00
84c82a4e75 luna, kernel: More constness
asleepymoon pushed to main at asleepymoon/Luna 2023-01-10 18:03:05 +00:00
5aa667c776 luna: Make OwnedStringView::clone() just call from_string_literal()
3ac3d54788 luna: Make check() and expect() output errors in userspace
c82ed5df01 Enable -Os on all targets
Compare 3 commits »