bookmarkfs/doc
CismonX bdfa812d79
backend: respect the BOOKMARK_DELETE_DIR flag
Following commit 2e3685f217,
make sure all backends check this flag and return correct error codes.

Normally this is not mandatory, since the kernel looks up
the directory entry to be removed, and fails if the system call
is inappropriate (e.g., calling rmdir() on a regular file).
This happens before FUSE_UNLINK or FUSE_RMDIR is sent to the server.

However, when not in exclusive mode, there is a short window that
TOCTOU problem may occur, which may lead to undesired behavior
(e.g., deletion of a non-empty directory) or even the corruption of
bookmark storage if not properly checked.

Also explain this flag in the user manual.
2025-03-27 12:36:27 +08:00
..
bookmarkctl.1 doc: misc update 2025-03-24 10:35:35 +08:00
bookmarkfs.texi backend: respect the BOOKMARK_DELETE_DIR flag 2025-03-27 12:36:27 +08:00
fdl.texi init: prepare for Savannah 2024-12-31 18:09:03 +08:00
fsck.bookmarkfs.1 doc: refactor style 2025-03-16 11:32:32 +08:00
Makefile.am init: prepare for Savannah 2024-12-31 18:09:03 +08:00
mkfs.bookmarkfs.1 doc: refactor style 2025-03-16 11:32:32 +08:00
mount.bookmarkfs.1 doc: refactor style 2025-03-16 11:32:32 +08:00