This is needed by the MemoryFile changes in https://android-git.corp.google.com/g/2714 where it is used to find out whether a file descriptor refers to an ashmem region.