Skip to content

Release 0.5.14

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 12:50

Bugfix update:

proot-next 0.3.11

Security

  • The directories proot-next makes for itself under a shared temporary
    directory are this user's alone. The exec trampoline's and the loader
    aliases' directory (proot-next-<pid>) and bwrap's per-user base
    (proot-next-<uid>) have names anyone can predict, and one another local
    user made first, as a directory of theirs or a link, was used as it was:
    they could replace the trampoline every guest process runs, or an alias the
    loader is reached through. Each is now made with mode 0700, and one of
    that name already there is taken only when it is a directory itself that
    this user owns and alone may write to, under a parent no one else may
    rename it in. Otherwise the trampoline and bwrap go on to ~/.cache, and a
    program the loader runs without an alias shows the loader's name, as it
    would without the directory; bwrap takes XDG_RUNTIME_DIR only when it is
    absolute and private to the user.

Changes

  • The program is built as a library, proot_next, which the proot
    executable calls; the API reference moved to rustdoc/proot_next/.
  • CodSpeed benchmarks of the path translation every traced call pays
    (bindings both ways, resolving through cached and uncached directories,
    symlinks, .., bound paths and new files, program canonicalization, the
    other architectures' syscall numbers, the proot-apps command line) run on
    every change.
  • The test probes close what they open and bound what they print, and the
    unit tests make their scratch directories with tempfile.