Sandro-Alessio Gierens

Results 16 issues of Sandro-Alessio Gierens

I tried to compile this on Debian 11 with GCC version 10.2.1, and it appears that newer versions of the C compiler are less forgiving with multiple definitions during linking....

Newer versions of the C++ compiler treat multiple definitions as errors during linking. This adds the linker option to ignore multiple definitions. It should probably just be a temporary fix...

In the function `fat16_get_root_directory` we first calculate the `total_sectors` (https://github.com/nibblebits/PeachOS/blob/master/src/fs/fat/fat16.c#L215-L219): ```c int total_sectors = root_dir_size / disk->sector_size; if (root_dir_size % disk->sector_size) { total_sectors += 1; } ``` and then at...

Correct me if I'm wrong but we are just ORing the high and low bits here: https://github.com/nibblebits/PeachOS/blob/9518f7a15134c31d66a4efe5a67a8ffba67edf50/src/fs/fat/fat16.c#L355-L358 Shouldn't we shift the high bits like so: ```c return (item->high_16_bits_first_cluster low_16_bits_first_cluster; ```

When the index is retrieved on the first request, it fails with: ``` HTTP Error 403: Forbidden Fetching RFC index failed. Connected to the internet? Behind proxy? ``` I am...

This adds the `User-Agent` header to the urllib requests to avoid HTTP 403. Fixes #9

Revise File::ext to extract "so" extension from versioned shared libraries, so instead of returning "3" for "libtest.so.1.2.3" it returns "so". The parsing only kicks in when the last extension is...

This adds the config file for cargo deny which automatically checks for things like advisories, licenses, bans, ... and a corresponding audit workflow that runs on every push changing dependencies...

This adds an os matrix with the latest two debian and ubuntu versions to the apt installation job.

Miri is an interpreter for Rust's intermediate representation and can detect certain undefined behavior, like out-of-bounds accesses and use-after-frees in unsafe blocks for example. This adds a CI job that...