1. 29 Oct, 2017 1 commit
    • attach: correctly handle namespace inheritance · 299d1198
      Christian Brauner authored
      When attaching to a container's namespaces we did not handle the case where we
      inherited namespaces correctly. In essence, liblxc on start records the
      namespaces the container was created with in the handler. But it only records
      the clone flags that were passed to clone() and doesn't record the namespaces
      we e.g. inherited from other containers. This means that attach only ever
      attached to the clone flags. But this is only correct if all other namespaces
      not recorded in the handler refer to the namespaces of the caller. However,
      this need not be the case if the container has inherited namespaces from
      another container. To handle this case we need to check whether caller and
      container are in the same namespace. If they are, we know that things are all
      good. If they aren't then we need to attach to these namespaces as well.
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
  2. 21 Oct, 2017 14 commits
  3. 20 Oct, 2017 2 commits
  4. 18 Oct, 2017 1 commit
  5. 17 Oct, 2017 2 commits
  6. 16 Oct, 2017 5 commits
  7. 12 Oct, 2017 4 commits
  8. 11 Oct, 2017 4 commits
  9. 10 Oct, 2017 4 commits
  10. 06 Oct, 2017 3 commits