Commit f09a5998 authored by bulach@chromium.org's avatar bulach@chromium.org

Android / dmprof: explodes policies for shared areas.

After crrev.com/208163, dmprof can segregate areas that are shared with
chrome processes and others.
Use this feature in the android policies.

BUG=

Review URL: https://chromiumcodereview.appspot.com/18710003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221278 0039d316-1c4b-4281-b951-d872f2087c98
parent 83f73cd9
...@@ -17,9 +17,11 @@ ...@@ -17,9 +17,11 @@
"unhooked-chrome-dex", "unhooked-chrome-dex",
"unhooked-other-ashmem", "unhooked-other-ashmem",
"unhooked-anonymous", "unhooked-anonymous",
"unhooked-file-exec-lib-chrome", "unhooked-file-exec-lib-chrome-shared",
"unhooked-file-exec-lib-chrome-private",
"unhooked-file-exec", "unhooked-file-exec",
"unhooked-file-nonexec-lib-chrome", "unhooked-file-nonexec-lib-chrome-shared",
"unhooked-file-nonexec-lib-chrome-private",
"unhooked-file-nonexec", "unhooked-file-nonexec",
"unhooked-stack", "unhooked-stack",
"unhooked-other", "unhooked-other",
...@@ -145,10 +147,18 @@ ...@@ -145,10 +147,18 @@
"allocator": "unhooked" "allocator": "unhooked"
}, },
{ {
"name": "unhooked-file-exec-lib-chrome", "name": "unhooked-file-exec-lib-chrome-shared",
"mappedpathname": "^/.*?(chromeview|content).*", "mappedpathname": "^/.*?(chromeview|content).*",
"mappedpermission": "..x.", "mappedpermission": "..x.",
"allocator": "unhooked" "allocator": "unhooked",
"sharedwith": ["group", "others"]
},
{
"name": "unhooked-file-exec-lib-chrome-private",
"mappedpathname": "^/.*?(chromeview|content).*",
"mappedpermission": "..x.",
"allocator": "unhooked",
"sharedwith": ["private"]
}, },
{ {
"name": "unhooked-file-exec", "name": "unhooked-file-exec",
...@@ -157,9 +167,16 @@ ...@@ -157,9 +167,16 @@
"allocator": "unhooked" "allocator": "unhooked"
}, },
{ {
"name": "unhooked-file-nonexec-lib-chrome", "name": "unhooked-file-nonexec-lib-chrome-shared",
"mappedpathname": "^/.*?(chromeview|content).*", "mappedpathname": "^/.*?(chromeview|content).*",
"allocator": "unhooked" "allocator": "unhooked",
"sharedwith": ["group", "others"]
},
{
"name": "unhooked-file-nonexec-lib-chrome-private",
"mappedpathname": "^/.*?(chromeview|content).*",
"allocator": "unhooked",
"sharedwith": ["private"]
}, },
{ {
"name": "unhooked-file-nonexec", "name": "unhooked-file-nonexec",
......
...@@ -17,9 +17,11 @@ ...@@ -17,9 +17,11 @@
"unhooked-chrome-dex", "unhooked-chrome-dex",
"unhooked-other-ashmem", "unhooked-other-ashmem",
"unhooked-anonymous", "unhooked-anonymous",
"unhooked-file-exec-lib-chrome", "unhooked-file-exec-lib-chrome-shared",
"unhooked-file-exec-lib-chrome-private",
"unhooked-file-exec", "unhooked-file-exec",
"unhooked-file-nonexec-lib-chrome", "unhooked-file-nonexec-lib-chrome-shared",
"unhooked-file-nonexec-lib-chrome-private",
"unhooked-file-nonexec", "unhooked-file-nonexec",
"unhooked-stack", "unhooked-stack",
"unhooked-other", "unhooked-other",
...@@ -173,10 +175,18 @@ ...@@ -173,10 +175,18 @@
"allocator": "unhooked" "allocator": "unhooked"
}, },
{ {
"name": "unhooked-file-exec-lib-chrome", "name": "unhooked-file-exec-lib-chrome-shared",
"mappedpathname": "^/.*?(chromeview|content).*", "mappedpathname": "^/.*?(chromeview|content).*",
"mappedpermission": "..x.", "mappedpermission": "..x.",
"allocator": "unhooked" "allocator": "unhooked",
"sharedwith": ["group", "others"]
},
{
"name": "unhooked-file-exec-lib-chrome-private",
"mappedpathname": "^/.*?(chromeview|content).*",
"mappedpermission": "..x.",
"allocator": "unhooked",
"sharedwith": ["private"]
}, },
{ {
"name": "unhooked-file-exec", "name": "unhooked-file-exec",
...@@ -185,9 +195,16 @@ ...@@ -185,9 +195,16 @@
"allocator": "unhooked" "allocator": "unhooked"
}, },
{ {
"name": "unhooked-file-nonexec-lib-chrome", "name": "unhooked-file-nonexec-lib-chrome-shared",
"mappedpathname": "^/.*?(chromeview|content).*", "mappedpathname": "^/.*?(chromeview|content).*",
"allocator": "unhooked" "allocator": "unhooked",
"sharedwith": ["group", "others"]
},
{
"name": "unhooked-file-nonexec-lib-chrome-private",
"mappedpathname": "^/.*?(chromeview|content).*",
"allocator": "unhooked",
"sharedwith": ["private"]
}, },
{ {
"name": "unhooked-file-nonexec", "name": "unhooked-file-nonexec",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment