提交 eecd3c1c 编写于 作者: X xionglei6

init: fix debug tracing rec bugs

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 c6502e40
...@@ -20,10 +20,18 @@ ...@@ -20,10 +20,18 @@
"src-path" : "/system/etc", "src-path" : "/system/etc",
"sandbox-path" : "/system/etc", "sandbox-path" : "/system/etc",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "rec", "private" ]
}, {
"src-path" : "/sys/kernel/debug/tracing",
"sandbox-path" : "/sys/kernel/debug/tracing",
"sandbox-flags" : [ "bind", "private" ]
}, {
"src-path" : "/sys/kernel/debug",
"sandbox-path" : "/sys/kernel/debug",
"sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/sys", "src-path" : "/sys",
"sandbox-path" : "/sys", "sandbox-path" : "/sys",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/proc", "src-path" : "/proc",
"sandbox-path" : "/proc", "sandbox-path" : "/proc",
...@@ -51,4 +59,4 @@ ...@@ -51,4 +59,4 @@
"link-name" : "/etc" "link-name" : "/etc"
} }
] ]
} }
\ No newline at end of file
...@@ -20,10 +20,18 @@ ...@@ -20,10 +20,18 @@
"src-path" : "/system/etc", "src-path" : "/system/etc",
"sandbox-path" : "/system/etc", "sandbox-path" : "/system/etc",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "rec", "private" ]
}, {
"src-path" : "/sys/kernel/debug/tracing",
"sandbox-path" : "/sys/kernel/debug/tracing",
"sandbox-flags" : [ "bind", "private" ]
}, {
"src-path" : "/sys/kernel/debug",
"sandbox-path" : "/sys/kernel/debug",
"sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/sys", "src-path" : "/sys",
"sandbox-path" : "/sys", "sandbox-path" : "/sys",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/proc", "src-path" : "/proc",
"sandbox-path" : "/proc", "sandbox-path" : "/proc",
......
...@@ -36,10 +36,18 @@ ...@@ -36,10 +36,18 @@
"src-path" : "/data", "src-path" : "/data",
"sandbox-path" : "/data", "sandbox-path" : "/data",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "rec", "private" ]
}, {
"src-path" : "/sys/kernel/debug/tracing",
"sandbox-path" : "/sys/kernel/debug/tracing",
"sandbox-flags" : [ "bind", "private" ]
}, {
"src-path" : "/sys/kernel/debug",
"sandbox-path" : "/sys/kernel/debug",
"sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/sys", "src-path" : "/sys",
"sandbox-path" : "/sys", "sandbox-path" : "/sys",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "private" ]
} }
], ],
"mount-bind-files" : [{ "mount-bind-files" : [{
...@@ -55,4 +63,4 @@ ...@@ -55,4 +63,4 @@
"link-name" : "/etc" "link-name" : "/etc"
} }
] ]
} }
\ No newline at end of file
...@@ -36,10 +36,18 @@ ...@@ -36,10 +36,18 @@
"src-path" : "/data", "src-path" : "/data",
"sandbox-path" : "/data", "sandbox-path" : "/data",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "rec", "private" ]
}, {
"src-path" : "/sys/kernel/debug/tracing",
"sandbox-path" : "/sys/kernel/debug/tracing",
"sandbox-flags" : [ "bind", "private" ]
}, {
"src-path" : "/sys/kernel/debug",
"sandbox-path" : "/sys/kernel/debug",
"sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/sys", "src-path" : "/sys",
"sandbox-path" : "/sys", "sandbox-path" : "/sys",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "private" ]
} }
], ],
"mount-bind-files" : [{ "mount-bind-files" : [{
......
...@@ -24,10 +24,18 @@ ...@@ -24,10 +24,18 @@
"src-path" : "/system/etc", "src-path" : "/system/etc",
"sandbox-path" : "/system/etc", "sandbox-path" : "/system/etc",
"sandbox-flags" : [ "bind", "rec" ] "sandbox-flags" : [ "bind", "rec" ]
}, {
"src-path" : "/sys/kernel/debug/tracing",
"sandbox-path" : "/sys/kernel/debug/tracing",
"sandbox-flags" : [ "bind", "private" ]
}, {
"src-path" : "/sys/kernel/debug",
"sandbox-path" : "/sys/kernel/debug",
"sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/sys", "src-path" : "/sys",
"sandbox-path" : "/sys", "sandbox-path" : "/sys",
"sandbox-flags" : [ "bind", "rec" ] "sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/proc", "src-path" : "/proc",
"sandbox-path" : "/proc", "sandbox-path" : "/proc",
...@@ -55,4 +63,4 @@ ...@@ -55,4 +63,4 @@
"link-name" : "/etc" "link-name" : "/etc"
} }
] ]
} }
\ No newline at end of file
...@@ -24,10 +24,18 @@ ...@@ -24,10 +24,18 @@
"src-path" : "/system/etc", "src-path" : "/system/etc",
"sandbox-path" : "/system/etc", "sandbox-path" : "/system/etc",
"sandbox-flags" : [ "bind", "rec" ] "sandbox-flags" : [ "bind", "rec" ]
}, {
"src-path" : "/sys/kernel/debug/tracing",
"sandbox-path" : "/sys/kernel/debug/tracing",
"sandbox-flags" : [ "bind", "private" ]
}, {
"src-path" : "/sys/kernel/debug",
"sandbox-path" : "/sys/kernel/debug",
"sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/sys", "src-path" : "/sys",
"sandbox-path" : "/sys", "sandbox-path" : "/sys",
"sandbox-flags" : [ "bind", "rec" ] "sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/proc", "src-path" : "/proc",
"sandbox-path" : "/proc", "sandbox-path" : "/proc",
......
...@@ -44,10 +44,18 @@ ...@@ -44,10 +44,18 @@
"src-path" : "/data", "src-path" : "/data",
"sandbox-path" : "/data", "sandbox-path" : "/data",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "rec", "private" ]
}, {
"src-path" : "/sys/kernel/debug/tracing",
"sandbox-path" : "/sys/kernel/debug/tracing",
"sandbox-flags" : [ "bind", "private" ]
}, {
"src-path" : "/sys/kernel/debug",
"sandbox-path" : "/sys/kernel/debug",
"sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/sys", "src-path" : "/sys",
"sandbox-path" : "/sys", "sandbox-path" : "/sys",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/config", "src-path" : "/config",
"sandbox-path" : "/config", "sandbox-path" : "/config",
......
...@@ -45,9 +45,17 @@ ...@@ -45,9 +45,17 @@
"sandbox-path" : "/data", "sandbox-path" : "/data",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "rec", "private" ]
}, { }, {
"src-path" : "/sys/kernel/debug/tracing",
"sandbox-path" : "/sys/kernel/debug/tracing",
"sandbox-flags" : [ "bind", "private" ]
}, {
"src-path" : "/sys/kernel/debug",
"sandbox-path" : "/sys/kernel/debug",
"sandbox-flags" : [ "bind", "private" ]
}, {
"src-path" : "/sys", "src-path" : "/sys",
"sandbox-path" : "/sys", "sandbox-path" : "/sys",
"sandbox-flags" : [ "bind", "rec", "private" ] "sandbox-flags" : [ "bind", "private" ]
}, { }, {
"src-path" : "/config", "src-path" : "/config",
"sandbox-path" : "/config", "sandbox-path" : "/config",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册