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

[merged] Protect against hostname changes with unshared UTS namespace #108

Closed
wants to merge 2 commits into from

Commits on Oct 13, 2016

  1. Move commandline args to top of the file

    This way we can access these from all the functions.
    alexlarsson committed Oct 13, 2016
    Configuration menu
    Copy the full SHA
    cd408b3 View commit details
    Browse the repository at this point in the history
  2. Don't allow setting hostname if not unsharing UTS namespace

    This is normally verified on argument validation, but it may happen
    if someone managed to send custom priv-sep operations via e.g. ptrace.
    
    See containers#107
    alexlarsson committed Oct 13, 2016
    Configuration menu
    Copy the full SHA
    1112870 View commit details
    Browse the repository at this point in the history