1. 11 Dec, 2015 3 commits
  2. 10 Dec, 2015 14 commits
  3. 07 Dec, 2015 1 commit
  4. 04 Dec, 2015 1 commit
  5. 03 Dec, 2015 12 commits
  6. 20 Nov, 2015 1 commit
  7. 18 Nov, 2015 4 commits
  8. 17 Nov, 2015 4 commits
    • Merge pull request #701 from hallyn/fixunexp · 0c233eee
      Stéphane Graber authored
      lxcapi_clone: restore the unexpanded config len
    • lxcapi_clone: restore the unexpanded config len · 3b392519
      Serge Hallyn authored
      Otherwise it gets shortened with the temporary len but never
      restored - which will only break API users which do a clone
      then continue to use the original container, meaning this is
      a hard one to detect.
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
    • Revert "seccomp: handle inverted arch" · ab5e52f6
      Serge Hallyn authored
      It breaks container starts.
      
      This reverts commit 473ebc77.
    • Better handle preserve_ns behavior · 62d05d9b
      Serge Hallyn authored
      Commit b6b2b194 preserves the container's namespaces for
      possible later use in stop hook.  But some kernels don't have
      /proc/pid/ns/ns for all the namespaces we may be interested in.
      So warn but continue if this is the case.
      
      Implement stgraber's suggested semantics.
      
       - User requests some namespaces be preserved:
          - If /proc/self/ns is missing => fail (saying kernel misses setns)
          - If /proc/self/ns/<namespace> entry is missing => fail (saying kernel misses setns for <namespace>)
       - User doesn't request some namespaces be preserved:
          - If /proc/self/ns is missing => log an INFO message (kernel misses setns) and continue
          - If /proc/self/ns/<namespace> entry is missing => log an INFO message (kernel misses setns for <namespace>) and continue
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>