mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 15:26:04 +00:00
* fix(nativeguest): keep the parent of the guest root inside the rootfs
* fix(nativeguest): keep every .. walk inside the guest root and its mounts
Absolute paths that climb above /, relative paths from the working
directory or any descriptor, and paths that climb out of a mount were
resolved by the kernel from the rootfs folder or the mount's real place,
so /.., chdir("..") from / and fstatat(fd, "../..") listed the app's
files folder. The walk is now resolved in the guest's view first.
* fix(nativeguest): .. from a linked mount ancestor follows the real directory
---------
Co-authored-by: maxjivi05 <6025299+maxjivi05@users.noreply.github.com>