Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Falling back to chroot() if pivot_root() fails #595

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Sep 26, 2024

  1. Reversing 3ce7c82 to avoid the second pivot_root()

    Signed-off-by: Dmitry Mikushin <dmitry@kernelgen.org>
    dmikushin committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    278db70 View commit details
    Browse the repository at this point in the history
  2. Avoiding a call to pivot_root(), which does not succeed on some syste…

    …ms; it could be replaced by a mount bind and chroot(), additionally unsharing and uid/gid mapping is not available
    
    Signed-off-by: Dmitry Mikushin <dmitry@kernelgen.org>
    dmikushin committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    b71b977 View commit details
    Browse the repository at this point in the history
  3. Falling back to chroot(), if pivot_root() does not work

    Signed-off-by: Dmitry Mikushin <dmitry@kernelgen.org>
    dmikushin committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    348156f View commit details
    Browse the repository at this point in the history