genode/repos/libports/recipes
Norman Feske 77b0e10e88 vfs/ram_file_system: deferred unlink
This patch changes the unlink operation of the ram fs to defer the
destruction of a file until it is no longer referenced by any VFS handle.
When unlinked, the file no longer appears in the directory. But it can
still be opened and accessed.

With this change, a parent process of a Unix-like subsystem becomes able
to pass the content of an unlinked file to a forked child process. This
mechanism is required when using the 'exec' command in Tcl scripts.

Another use case is the 'tmpfile()' function.

Fixes #3577
2023-12-13 12:33:05 +01:00
..
api depot: update recipe hashes 2023-11-30 15:11:36 +01:00
pkg vfs/ram_file_system: deferred unlink 2023-12-13 12:33:05 +01:00
raw depot: update recipe hashes 2023-11-30 15:11:36 +01:00
src vfs/ram_file_system: deferred unlink 2023-12-13 12:33:05 +01:00