summaryrefslogtreecommitdiff
path: root/debuggerd/debuggerd_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-06-18 15:53:53 -0600
committerRiddle Hsu <riddlehsu@google.com>2019-06-18 15:53:53 +0800
commita6abd821d5dc50fbaaf921354d66fe5477a2f201 (patch)
tree4aacd18b973181030b7ba5b4b3d6b6686b8badfa /debuggerd/debuggerd_test.cpp
parentad6f656be2854aa15d42902abc6277253165bf62 (diff)
Allow to drop existing fd cache of cgroup path
A process can give up the permission to set cgroup. If we still keep the fd that was cached before losing the permission, when the process sets scheduling group, it will write to the cached fd without checking if is accessible and lead to sepolicy denied. Bug: 123043091 Test: Build and boot. Test: A new process from zygote set cgroup and drop fd cache, and then specializes to app domain. There is no sepolicy denied when the process creates new thread. (android::thread_data_t::trampoline) Change-Id: I285ee91424ea965ea9c670fc0f6662948e3e2ce5
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
0 files changed, 0 insertions, 0 deletions