Commit 9b4ff189 authored by David Anderson's avatar David Anderson Committed by Daniel Rosenberg
Browse files

ANDROID: overlayfs: inode_owner_or_capable called during execv

Using old_creds as an indication that we are not overriding the
credentials, bypass call to inode_owner_or_capable.  This solves
a problem with all execv calls being blocked when using the caller's
credentials.

Bug: 297913716
Link: https://lore.kernel.org/lkml/20201021151903.652827-5-salyzyn@android.com/


Change-Id: I1ae009a33a55da7404033e574c8873b079c795be
Signed-off-by: default avatarDavid Anderson <dvander@google.com>
Signed-off-by: default avatarMark Salyzyn <salyzyn@android.com>
Signed-off-by: default avatarDaniel Roseberg <drosen@google.com>
Test: adb-remount-test.sh
parent ad8f22c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment