add asan to sandbox

Signed-off-by: martin <dxd_09101011@163.com>
This commit is contained in:
martin 2022-09-10 00:03:04 +08:00
parent df31893987
commit 4b5dde30e2
2 changed files with 25 additions and 0 deletions

View File

@ -43,6 +43,11 @@
"sandbox-path" : "/system/lib", "sandbox-path" : "/system/lib",
"sandbox-flags" : [ "bind", "rec" ], "sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false" "check-action-status": "false"
}, {
"src-path" : "/system/asan/lib",
"sandbox-path" : "/system/asan/lib",
"sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false"
}, { }, {
"src-path" : "/system/data", "src-path" : "/system/data",
"sandbox-path" : "/system/data", "sandbox-path" : "/system/data",
@ -73,6 +78,11 @@
"sandbox-path" : "/vendor/lib", "sandbox-path" : "/vendor/lib",
"sandbox-flags" : [ "bind", "rec" ], "sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false" "check-action-status": "false"
}, {
"src-path" : "/vendor/asan/lib",
"sandbox-path" : "/vendor/asan/lib",
"sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false"
}, { }, {
"src-path" : "/data/app/el1/bundle/public/<PackageName>", "src-path" : "/data/app/el1/bundle/public/<PackageName>",
"sandbox-path" : "/data/storage/el1/bundle", "sandbox-path" : "/data/storage/el1/bundle",

View File

@ -43,11 +43,21 @@
"sandbox-path" : "/system/lib", "sandbox-path" : "/system/lib",
"sandbox-flags" : [ "bind", "rec" ], "sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false" "check-action-status": "false"
}, {
"src-path" : "/system/asan/lib",
"sandbox-path" : "/system/asan/lib",
"sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false"
}, { }, {
"src-path" : "/system/lib64", "src-path" : "/system/lib64",
"sandbox-path" : "/system/lib64", "sandbox-path" : "/system/lib64",
"sandbox-flags" : [ "bind", "rec" ], "sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false" "check-action-status": "false"
}, {
"src-path" : "/system/asan/lib64",
"sandbox-path" : "/system/asan/lib64",
"sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false"
}, { }, {
"src-path" : "/system/data", "src-path" : "/system/data",
"sandbox-path" : "/system/data", "sandbox-path" : "/system/data",
@ -78,6 +88,11 @@
"sandbox-path" : "/vendor/lib64", "sandbox-path" : "/vendor/lib64",
"sandbox-flags" : [ "bind", "rec" ], "sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false" "check-action-status": "false"
}, {
"src-path" : "/vendor/asan/lib64",
"sandbox-path" : "/vendor/asan/lib64",
"sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false"
}, { }, {
"src-path" : "/data/app/el1/bundle/public/<PackageName>", "src-path" : "/data/app/el1/bundle/public/<PackageName>",
"sandbox-path" : "/data/storage/el1/bundle", "sandbox-path" : "/data/storage/el1/bundle",