Protect FUSE lookup requests

Previously, lookup requests would always succeed if the path exists
on disk.

Now, we fail lookups early if either the user in the path requested
doesn't match the calling uid or the FuseDaemon UID.

Test:  atest -c android.appsecurity.cts.ExternalStorageHostTest#testSecondaryUsersInaccessible
Bug: 135341433
Change-Id: I55f06f2cad3462c258fcb4024d84a8fa9e63c856
1 file changed