Change-Id: I4dc92059d90415199fcd143d75cc68cfdb67c430 Signed-off-by: jingrui <jingrui@huawei.com>
26 lines
773 B
Diff
26 lines
773 B
Diff
From 017c3377f0bd5230c0fa1699bd193baa527f0b8f Mon Sep 17 00:00:00 2001
|
|
From: xiadanni1 <xiadanni1@huawei.com>
|
|
Date: Fri, 20 Nov 2020 18:34:45 +0800
|
|
Subject: [PATCH] docker:mask /proc/pin_memory
|
|
|
|
Signed-off-by: xiadanni1 <xiadanni1@huawei.com>
|
|
---
|
|
components/engine/oci/defaults.go | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/components/engine/oci/defaults.go b/components/engine/oci/defaults.go
|
|
index ec748a6..e763cb7 100644
|
|
--- a/components/engine/oci/defaults.go
|
|
+++ b/components/engine/oci/defaults.go
|
|
@@ -135,6 +135,7 @@ func DefaultLinuxSpec() specs.Spec {
|
|
"/proc/oom_extend",
|
|
"/proc/pagealloc_statistics",
|
|
"/proc/pagealloc_bt",
|
|
+ "/proc/pin_memory",
|
|
"/proc/slaballoc_bt",
|
|
"/proc/slaballoc_module",
|
|
"/proc/sched_debug",
|
|
--
|
|
1.8.3.1
|
|
|