{"push_id":541467116,"size":1,"distinct_size":1,"ref":"refs/heads/seccomp","head":"8c2e425876c512b20f356ffebd2d9fa0973087f4","before":"b9ddc9fbff1c939db98c03ea06f7f36b29f18530","commits":[{"sha":"8c2e425876c512b20f356ffebd2d9fa0973087f4","author":{"email":"b9ec3270cf4e91ac388bb1d81bcc7fb682087ac3@redhat.com","name":"Matthew Heon"},"message":"Introduce support for syscall filtering in containers #237\n\nThis PR introduces the ability to filter system calls on a per-container basis on Linux, using libseccomp to support multiple architectures.\n\nThis adds another layer of security between containers and the kernel. System calls which are unnecessary in a container or problematic from a security perspective can be restricted to prevent their use. Most of the truly problematic syscalls are already restricted by dropping capabilities; this adds an additional, finer-grained layer of protection.\n\nThere's a similar feature present in LXC already, with the significant difference that LXC uses a whitelist of system calls, whereas these patches use a blacklist. The blacklist approach ensures no difference in functionality to clients not explicitly aware of seccomp support (the restricted syscalls list in the container config is left empty, and the seccomp init function exits without taking action).\n\nThis PR adds a vendored library dependency (Go bindings for libseccomp) and a build dependency on libseccomp >= v2.1. The actual changes to libcontainer are fairly minimal, most of the delta is in the libseccomp bindings.\n\nPresently missing: documentation\n\nDocker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)\nDocker-DCO-1.1-Signed-off-by: Matt Heon <mheon@redhat.com> (github: mheon)","distinct":true,"url":"https://api.github.com/repos/mheon/libcontainer/commits/8c2e425876c512b20f356ffebd2d9fa0973087f4"}]}