buildkit/vendor/github.com/opencontainers
Brian Goff 68bb095353 Add support for apparmor/selinux
Set's an apparmor profile on the OCI spec if one is configred on the
worker.
Adds selinux labels to containers (only added if selinux is enabled on
the system).

This assumes that the specified apparmor profile is already loaded on
the system and does not try to load it or even check if it is loaded.

SELinux support requires the `selinux` build tag to be added.
Likewise, `runc` would require both the `apparmor` and `selinux` build
tags.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>

Vendored go-selinux to v1.8.0
Fixed tests

Signed-off-by: Tibor Vass <tibor@docker.com>
2021-01-27 23:40:43 +00:00
..
go-digest vendor: update containerd and dependencies to current master 2020-05-14 21:01:44 +02:00
image-spec Migrate from vndr to go mod 2019-01-31 22:44:47 +00:00
runc vendor: github.com/docker/docker v20.10.0-beta1.0.20201030232932-c2cc352355d4 2020-10-31 00:34:53 +01:00
runtime-spec update containerd to v1.4.0, runc to v1.0.0-rc92 2020-08-18 22:19:53 +09:00
selinux Add support for apparmor/selinux 2021-01-27 23:40:43 +00:00