Changes between 1.0.0 and 1.1.0
-
Create a temporary directory in a deterministic manner, based on cooperative processes and
flock(2)to apply locks, rather than using a random approach viamkdtemp(3). The main motivation for this is to avoid wasting space.In the previous model, the payload is extracted every time a process is created from the executable, which, while not a problem if the payload is small, is a problem in the case of very large applications, likely a self-contained application with all its libraries and dependencies. In the current approach, the payload is extracted only once, and the last process is responsible for removing it. This also improves response time for subsequent execution of the executable. In the case of
tmpfs(4), this prevents memory waste and works well when the administrator sets file quotas. -
Add the appropriate credits for the rm_tree function, which is based on
rm(1).
Full Changelog: v1.0.0...v1.1.0