Commit graph

443 commits

Author SHA1 Message Date
Tommaso Gagliardoni
a9cb3b474e chore: Prepare release v0.5.5 2025-09-24 10:37:14 +02:00
Tommaso Gagliardoni
757f841211 Merge pull request 'fix/vmalloc-scatterlist' (#151) from fix/vmalloc-scatterlist into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/151
2025-09-24 10:23:24 +02:00
Tommaso Gagliardoni
e767b8ca81 style: Fix paragraph line break in README 2025-09-24 10:20:35 +02:00
Tommaso Gagliardoni
7bad410e03 fix: Only set max discard granularity for newer kernels 2025-09-23 17:16:26 +02:00
toninov
ad843ec97d
Fix compilation on older kernels (reenable errors in bad DISCARDs) 2025-09-21 12:54:43 +02:00
toninov
fda27f7b52
Use the new sflite_crypt_blocks_buf everywhere 2025-09-21 12:36:59 +02:00
toninov
51f5c2b9c1
Define functions to use vmalloc_to_page() 2025-09-14 19:45:29 +02:00
toninov
75c0f30ca9 Use perror to properly format the errno 2025-09-12 11:24:30 +02:00
toninov
be8d9d5e3a Add a sentence in README on Secure Boot 2025-09-12 10:02:35 +02:00
Tommaso Gagliardoni
53b9c79e87 doc: Minor change to README.md 2025-09-11 22:02:55 +02:00
Tommaso Gagliardoni
264c79f335 Merge pull request 'fix/docs-and-err-msg' (#150) from fix/docs-and-err-msg into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/150
2025-09-11 21:59:16 +02:00
toninov
95a72fc8e7
Add explicit error message for non-inserted dm-sflc 2025-09-11 13:02:08 +02:00
toninov
2a2166cb17
Add Secure Boot paragraph to README 2025-09-11 12:30:28 +02:00
Tommaso Gagliardoni
01f81727c4 Merge pull request 'release: v0.5.4' (#146) from v0.5.4 into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/146
2025-09-06 23:17:17 +02:00
Tommaso Gagliardoni
4e55a381a9 doc: Fix typo in README.md 2025-09-06 23:05:19 +02:00
Tommaso Gagliardoni
c1c679af47 chore: Prepare release v0.5.4 2025-09-06 22:50:14 +02:00
Tommaso Gagliardoni
4ce3b3fc55 fix: Remove temporary debug output in benchmark script 2025-09-06 21:18:57 +02:00
Tommaso Gagliardoni
b253a92cba fix: Undefine BLK_STS_INVAL
This symbol seems to be only supported in recent kernels, so remvoing it for now to allow compilation on older kernels
2025-09-06 20:52:49 +02:00
Tommaso Gagliardoni
5b0d030780 revert: Unsupport FUA WRITEs
This reverts commit b4ed1d9e0c due to a bug when opening volumes.
2025-09-06 20:45:46 +02:00
Tommaso Gagliardoni
0123cf867d fix: Revert fix for benchmark scripts 2025-09-05 13:49:54 +02:00
Tommaso Gagliardoni
9862a7983c fix: Test a race condition fix for benchmark scripts 2025-09-05 13:39:09 +02:00
Tommaso Gagliardoni
11cd4f10c1 fix: Test a race condition fix for benchmark scripts 2025-09-05 13:36:24 +02:00
Tommaso Gagliardoni
206d9d2b8f style: Remove empty spacing alignment from benchmark scripts 2025-09-05 13:31:53 +02:00
Tommaso Gagliardoni
72d8773a01 fix: Fix benchmark race condition and not removing directory 2025-09-05 11:42:07 +02:00
toninov
b4ed1d9e0c
Unsupport FUA WRITEs 2025-09-04 20:40:53 +02:00
toninov
8fdc4a9195
Typo 2025-09-04 20:14:42 +02:00
toninov
0d1bc9b741
Merge andersonarc/feat/discard into dev 2025-09-04 20:10:19 +02:00
toninov
110c0c27be
Change error codes for invalid DISCARDs 2025-09-04 19:57:43 +02:00
Tommaso Gagliardoni
7e1a221f50 docs: Minor clarification in CONTRIBUTING.md about admissible branches for PR 2025-09-02 12:07:02 +02:00
Tommaso Gagliardoni
bb08c007d3 docs: Distinguish between dm-sflc.ko and dm_sflc in README.md 2025-09-02 12:02:51 +02:00
Tommaso Gagliardoni
b0c8f81c16 Merge pull request 'fix/benchmarks' (#144) from fix/benchmarks into dev
Reviewed-on: https://codeberg.org/shufflecake/shufflecake-c/pulls/144
2025-09-02 11:59:28 +02:00
Tommaso Gagliardoni
83d8d10302 style: Change color pattern of benchmark help usage string 2025-09-02 11:54:47 +02:00
Tommaso Gagliardoni
91c7933823 chore: Benchmark runtime set to 10s for all 2025-09-02 11:50:11 +02:00
Tommaso Gagliardoni
4723263a18 fix: Fix benchmark Veracrypt 2025-09-02 11:48:34 +02:00
Tommaso Gagliardoni
b41805e35c fix: Fix benchmark LUKS 2025-09-02 11:41:36 +02:00
Tommaso Gagliardoni
55a926a15f fix: Fix fragscript sflc legacy 2025-09-02 11:31:50 +02:00
Tommaso Gagliardoni
66d9afa5c3 fix: Fix benchmark scripts shebang 2025-09-02 11:26:45 +02:00
Tommaso Gagliardoni
d77f6d90e4 fix: Fix fragscript sflc lite 2025-09-02 11:24:30 +02:00
Tommaso Gagliardoni
e895afcfe6 fix: Fix benchmark sflc legacy 2025-09-02 11:11:16 +02:00
Tommaso Gagliardoni
51284e9363 fix: Fix benchmark sflc lite 2025-09-02 11:01:03 +02:00
Tommaso Gagliardoni
c1c8052f1b style: Convert leading spaces to tabs in benchmarks, change duration to 2s for testing 2025-09-02 09:53:51 +02:00
Tommaso Gagliardoni
327ff6b672 docs: Minor edits in CONTRIBUTING.md 2025-08-25 18:22:21 +02:00
Tommaso Gagliardoni
f9ffa2d0c7 fix: Fix typo in CONTRIBUTING.md 2025-08-25 18:09:55 +02:00
Tommaso Gagliardoni
32eb1d88f6 fix: Fix benchmark scripts
Benchmark scripts now load dm_mod when necessary. Time per test reduced from 20s to 10s. Veracrypt script diff artifacts fixed.

Fixes: #142
2025-08-25 18:07:23 +02:00
Tommaso Gagliardoni
0405514560 doc: Add Anderson Rosenberg as contributor 2025-08-25 17:14:07 +02:00
Tommaso Gagliardoni
6007023437 doc: Clarify key identity policy in CONTRIBUTING.md 2025-08-25 17:09:01 +02:00
Tommaso Gagliardoni
1047ab29a7 doc: Add AI policy in CONTRIBUTING.md 2025-08-25 17:02:09 +02:00
Tommaso Gagliardoni
febaacd604 doc: Add 'style' commit tag in CONTRIBUTING.md 2025-08-25 16:53:04 +02:00
Tommaso Gagliardoni
606f8945cf style: Remove hyphen in usage prompt 2025-08-25 16:49:16 +02:00
Tommaso Gagliardoni
f0288879c4 doc: Add comments in src files of Lite
One comment is a TODO about the possibility of doing slice garbage collection dynamically instead of requiring a reload. The other is a warning about the importance of terminating a TRIM bio before it reaches the block device, otherwise plausible deniability might break.
2025-08-25 16:47:18 +02:00