1. 03 Aug, 2015 5 commits
  2. 01 Aug, 2015 1 commit
  3. 29 Jul, 2015 1 commit
  4. 23 Jul, 2015 1 commit
    • seccomp: simplify and fix rule parsing · d6417887
      Wolfgang Bumiller authored
      1) Two checks on amd64 for whether compat_ctx has already
      been generated were redundant, as compat_ctx is generally
      generated before entering the parsing loop.
      
      2) With introduction of reject_force_umount the check for
      whether the syscall has the same id on both native and
      compat archs results in false behavior as this is an
      internal keyword and thus produces a -1 on
      seccomp_syscall_resolve_name_arch().
      The result was that it was added to the native architecture
      twice and never to the 32 bit architecture, causing it to
      have no effect on 32 bit containers on 64 bit hosts.
      
      3) I do not see a reason to care about whether the syscalls
      have the same number on the two architectures. On the one
      hand this check was there to avoid adding it to two archs
      (and effectively leaving one arch unprotected), while on
      the other hand it seemed to be okay to add it to the
      same arch *twice*.
      
      The entire architecture checking branches are now reduced to
      three simple cases: 'native', 'non-native' and 'all'. With
      'all' adding to both architectures regardless of the syscall
      ID.
      
      Also note that libseccomp had a bug in its architecture
      checking, so architecture related filters weren't working as
      expected before version 2.2.2, which may have contributed to
      the confusion in the original architecture-related code.
      Signed-off-by: 's avatarWolfgang Bumiller <w.bumiller@proxmox.com>
  5. 22 Jul, 2015 3 commits
  6. 21 Jul, 2015 2 commits
  7. 20 Jul, 2015 1 commit
  8. 19 Jul, 2015 4 commits
  9. 17 Jul, 2015 1 commit
  10. 14 Jul, 2015 1 commit
  11. 13 Jul, 2015 1 commit
  12. 03 Jul, 2015 1 commit
  13. 01 Jul, 2015 2 commits
  14. 30 Jun, 2015 10 commits
  15. 29 Jun, 2015 2 commits
  16. 24 Jun, 2015 1 commit
  17. 23 Jun, 2015 1 commit
  18. 21 Jun, 2015 1 commit
  19. 18 Jun, 2015 1 commit