genode/repos/os/include/vfs
Martin Stein 16c4aacf34 vfs/dir_fs: allow opening empty dirs
Adapts Dir_file_system::open_composite_dirs in a way that it returns "success"
when the leaf node of the path is an empty directory but "lookup failed", as
usual, if one of the other directories on the way to the leaf node is empty.

I couldn't find a technical reason why we used to return "lookup failed" when
only the leaf node was empty.

The commit also adds a test for en empty root directory and empty
sub-directories to the fs_query run script.

Fixes #4198
2021-06-25 11:41:45 +02:00
..
dir_file_system.h vfs/dir_fs: allow opening empty dirs 2021-06-25 11:41:45 +02:00
directory_service.h vfs directory service: name enum Open_mode 2020-11-23 12:02:59 +01:00
env.h VFS: Replace global response handlers with local handlers 2019-04-09 12:30:34 +02:00
file_io_service.h vfs: add modification time member to directory_service 2019-11-19 14:17:30 +01:00
file_system_factory.h os: avoid using deprecated APIs 2019-01-30 13:49:54 +01:00
file_system.h Add missing XML header to vfs/file_system.h 2018-07-03 09:39:34 +02:00
print.h VFS: add an error to to the Sync_result enum 2018-08-02 14:36:49 +02:00
readonly_value_file_system.h vfs: watch support for Readonly_value_file_system 2019-11-19 14:42:23 +01:00
simple_env.h VFS: Replace global response handlers with local handlers 2019-04-09 12:30:34 +02:00
single_file_system.h vfs: distinguish NO_PERM from NO_ENTRY in unlink 2020-03-26 11:38:55 +01:00
types.h Replace Genode::strncpy by Genode::copy_cstring 2020-05-27 11:56:45 +02:00
vfs_handle.h VFS: Replace global response handlers with local handlers 2019-04-09 12:30:34 +02:00