aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTobias Lindskog <[email protected]>2018-07-06 14:44:16 -0700
committerGreg Kroah-Hartman <[email protected]>2018-07-16 11:49:16 +0200
commit173a4906aebe14fccc6cd338efda618fd69d56de (patch)
tree96dc3a25c4f83218f8091f0501c8ee757bfce746 /tools/perf/scripts/python/export-to-sqlite.py
parentab608b341b482f1ab5a6fd43ff853a7627107b19 (diff)
staging: android: ashmem: Shrink directly through shmem_fallocate
When ashmem_shrink is called from direct reclaim on a user thread, a call to do_fallocate will check for permissions against the security policy of that user thread. It can thus fail by chance if called on a thread that isn't permitted to modify the relevant ashmem areas. Because we know that we have a shmem file underneath, call the shmem implementation of fallocate directly instead of going through the user-space interface for fallocate. Signed-off-by: Tobias Lindskog <[email protected]> Signed-off-by: Jeff Vander Stoep <[email protected]> Signed-off-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions