Born to be PRoot

lun. 09 avril 2012 by Rémi Duraffort

It's been a long time since my last post on this blog. To start again in a good shape I will seize the opportunity of a new version of PRoot to present this open source software in a cycle of articles.

What is PRoot about?

PRoot is a user-space implementation of:

  • chroot
  • mount --bind
  • binfmt_misc

This mean that PRoot allows you to:

  • Change the root filesystem of a process.
  • Bind some files to another location in the file system.
  • Transparently execute binaries built for another CPU architecture through Qemu.

PRoot is based on the unprivileged system-call PTrace, making these three features available for unprivileged users.

Use cases

I found some really interesting uses cases of PRoot for a software developer and Linux user that I will describe in future blog posts: