mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-04 04:54:12 +00:00
d649451c3d
This patch ensures that fs_rom delivers a ROM-update notification in the case where the underlying file was changed in-between requesting the initial ROM content and registering the signal handler. |
||
---|---|---|
.. | ||
main.cc | ||
README | ||
target.mk |
The 'fs_rom' server translates the 'File_system' session interface to the 'ROM' session' interface. Each request for a ROM file is handled by looking up an equally named file on the file system. If no such file could be found, the server watches the file system for the creation of the corresponding file. Furthermore, the server reflects file changes as signals to the ROM session. Limitations ----------- * Symbolic links are not handled * The server needs to allocate RAM for each requested file. The RAM is always allocated from the RAM session of the server. The RAM quota consumed by the server depends on the client requests and the size of the requested files. Therefore, one instance of the server should not be used by untrusted clients and critical clients at the same time. In such situations, multiple instances of the server could be used.