Commit graph

7 commits

Author SHA1 Message Date
CismonX
1db61bc878
all: debug_puts() should accept arbitrary string 2025-02-15 19:38:15 +08:00
CismonX
d1dac54b72
chore: tidy up includes 2025-02-08 18:56:45 +08:00
CismonX
b9e02d2d3d
fsck: add BOOKMARKFS_FSCK_HANDLER_READONLY flag
instead of reusing the BOOKMARKFS_BACKEND_READONLY flag
2025-01-24 08:34:40 +08:00
CismonX
712861e8f8
fsck: fix fsck apply
- Throw an error if the handler tries to apply in readonly mode
- Do not expose BOOKMARKFS_FSCK_RESULT_END to the handler
2025-01-18 08:52:43 +08:00
CismonX
c0a99474c7
fsck_handler_tcl: improve initialization
Initialize interp before entering sandbox, so that unsafe interp
can be used in sandbox mode.

Also no need to register std channels for unsafe interp.
2025-01-14 23:03:24 +08:00
CismonX
d6df1cd89b
fsck: add result code for "." and ".." entries
BOOKMARKFS_FSCK_RESULT_NAME_INVALID should be used solely for
names that are valid as filename, but not as bookmark name.
2025-01-11 18:32:50 +08:00
CismonX
cdf0ddfc53
init: prepare for Savannah 2024-12-31 18:09:03 +08:00