mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 03:21:43 +02:00
app-emulation/docker-runc: adjust Flatcar patch for 1.0.0-rc93
A Flatcar patch for docker-runc cannot be applied to 1.0.0-rc93. We need to adjust to build docker-runc 1.0.0-rc93.
This commit is contained in:
parent
b966faf70a
commit
3d6a652669
@ -18,9 +18,9 @@ index 3b42f301..bace067d 100644
|
|||||||
"github.com/opencontainers/runc/libcontainer/configs"
|
"github.com/opencontainers/runc/libcontainer/configs"
|
||||||
"github.com/opencontainers/runc/libcontainer/intelrdt"
|
"github.com/opencontainers/runc/libcontainer/intelrdt"
|
||||||
- selinux "github.com/opencontainers/selinux/go-selinux"
|
- selinux "github.com/opencontainers/selinux/go-selinux"
|
||||||
|
"golang.org/x/sys/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Validator interface {
|
|
||||||
@@ -99,9 +98,6 @@ func (v *ConfigValidator) security(config *configs.Config) error {
|
@@ -99,9 +98,6 @@ func (v *ConfigValidator) security(config *configs.Config) error {
|
||||||
!config.Namespaces.Contains(configs.NEWNS) {
|
!config.Namespaces.Contains(configs.NEWNS) {
|
||||||
return fmt.Errorf("unable to restrict sys entries without a private MNT namespace")
|
return fmt.Errorf("unable to restrict sys entries without a private MNT namespace")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user