[lxc-devel] [lxc/lxc] 473ebc: seccomp: handle inverted arch

GitHub noreply at github.com
Tue Nov 17 16:42:15 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 473ebc77d6762c2ec49fe59983dabc04f695fd01
      https://github.com/lxc/lxc/commit/473ebc77d6762c2ec49fe59983dabc04f695fd01
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-11-12 (Thu, 12 Nov 2015)

  Changed paths:
    M src/lxc/seccomp.c

  Log Message:
  -----------
  seccomp: handle inverted arch

lxc uses uname to check the kernel version.  Seccomp respects userspace.  In the case
of 32-bit userspace on 64-bit kernel, this was a bad combination.

When we run into that case, make sure that the compat seccomp context is 32-bit, and
the lxc->seccomp_ctx is the 64-bit.

Closes #654

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: a3ae59c6b1df5c2d32478f8f42c6e4c48b06166e
      https://github.com/lxc/lxc/commit/a3ae59c6b1df5c2d32478f8f42c6e4c48b06166e
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2015-11-17 (Tue, 17 Nov 2015)

  Changed paths:
    M src/lxc/seccomp.c

  Log Message:
  -----------
  Merge pull request #697 from hallyn/2015-11-12/seccomp

seccomp: handle inverted arch


Compare: https://github.com/lxc/lxc/compare/5eea90e8505d...a3ae59c6b1df


More information about the lxc-devel mailing list