diff options
author | 2020-04-23 13:15:10 -0600 | |
---|---|---|
committer | 2020-04-23 13:15:32 -0600 | |
commit | 9a497640c74db12a5d07fe194e3164c3d5e5713c (patch) | |
tree | 138ead517a35e59bec9e0e00928aca00b9e9b97c /deploy.sh | |
parent | 789362e59d0eea92d9b4626f462f9c82a8de2893 (diff) |
Open all files with O_NOFOLLOW.
SD cards don't support symlinks, so we have no reason to try
following them if somehow an evil caller is able to sneak them into
the database.
Also fix deploy.sh to work after recent apexd changes.
Bug: 124329382
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Idb1f3ee1db90913a97a50515003f211519037066
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ adb shell stop adb remount adb sync adb shell umount /apex/com.android.mediaprovider* +adb shell setprop apexd.status '""' adb shell setprop ctl.restart apexd adb shell rm -rf /system/priv-app/MediaProvider adb shell rm -rf /system/priv-app/MediaProviderGoogle |