summaryrefslogtreecommitdiff
path: root/libcutils/hashmap.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-06-28 18:43:19 -0700
committerJosh Gao <jmgao@google.com>2018-07-09 14:25:51 -0700
commit4c0078d67a552c63b439b2398e17e9cdaf6b7067 (patch)
tree666f04f8338c75c66a095113db7a15d9d70a1b78 /libcutils/hashmap.cpp
parent78ea17a6415c5d231606c7099eed7febc7801052 (diff)
adbd: fix spurious failure to create dirs when pushing.
When pushing to a path, we first try to ensure the directory path exists and has the permissions expected by fs_config. Due to a change that changed the fs_config check from a blacklist to a whitelist, we started doing this for /data (which doesn't begin with /data/), and the UID/GID for that path was accidentally being reused for following path segments that didn't exist, leading to a failed attempt to chown /data/local/tmp/foo to be owned by system. Bug: http://b/110953234 Test: python test_device.py Change-Id: Ie798eec48bcf54aea40f6d90cc03bb2170280ee8
Diffstat (limited to 'libcutils/hashmap.cpp')
0 files changed, 0 insertions, 0 deletions