1.1 --- a/libfsserver/lib/files/host_file_opener.cc Sat Aug 07 23:19:20 2021 +0200
1.2 +++ b/libfsserver/lib/files/host_file_opener.cc Sun Aug 08 23:12:34 2021 +0200
1.3 @@ -91,8 +91,14 @@
1.4 return (st.st_mode & S_IFREG) ? true : false;
1.5 }
1.6
1.7 -long HostFileOpener::get_directory(const char *path, flags_t flags, fileid_t fileid, offset_t *size, l4_cap_idx_t *cap)
1.8 +long HostFileOpener::get_directory(const char *path, flags_t flags,
1.9 + fileid_t fileid, offset_t *size,
1.10 + l4_cap_idx_t *cap, object_flags_t *object_flags)
1.11 {
1.12 + /* The path is used to obtain the directory. */
1.13 +
1.14 + (void) flags; (void) fileid;
1.15 +
1.16 file_t *reader, *writer;
1.17
1.18 // NOTE: Might be more appropriate to use lower-level file operations to
1.19 @@ -105,6 +111,7 @@
1.20
1.21 *size = reader->size;
1.22 *cap = reader->ref;
1.23 + *object_flags = 0; /* does not support mmap, has no fixed size */
1.24
1.25 /* Discard the reader structure but preserve the capability. */
1.26