1. 21 Jan, 2019 2 commits
    • Merge pull request #2786 from lifeng68/fix_seccomp · b6825c4b
      Christian Brauner authored
      seccomp: add rules for specified architecture only 
    • seccomp: add rules for specified architecture only · f1bcfc79
      LiFeng authored
      If the architecture is specified in the seccomp configuration, like:
      ```
      2
      whitelist errno 1
      [x86_64]
      accept allow
      accept4 allow
      ```
      We shoud add rules only for amd64 instead of add rules for
      x32/i386/amd64.
      
      1. If the [arch] was not specified in seccomp config, add seccomp rules
      for all all compat architectures.
      2. If the [arch] specified in seccomp config irrelevant to native host
      arch, the rules will be ignored.
      3. If specified [all] in seccomp config, add seccomp rules for all
      compat architectures.
      4. If specified [arch] as same as native host arch, add seccomp rules
      for the native host arch.
      5. If specified [arch] was not native host arch, but compat to host
      arch, add seccomp rules for the specified arch only, NOT add seccomp
      rules for native arch.
      Signed-off-by: 's avatarLiFeng <lifeng68@huawei.com>
  2. 18 Jan, 2019 4 commits
  3. 17 Jan, 2019 4 commits
  4. 16 Jan, 2019 1 commit
  5. 15 Jan, 2019 1 commit
  6. 11 Jan, 2019 1 commit
  7. 10 Jan, 2019 4 commits
  8. 08 Jan, 2019 5 commits
  9. 07 Jan, 2019 8 commits
  10. 06 Jan, 2019 2 commits
  11. 04 Jan, 2019 2 commits
  12. 26 Dec, 2018 2 commits
  13. 17 Dec, 2018 2 commits
  14. 16 Dec, 2018 1 commit
  15. 13 Dec, 2018 1 commit