commit | 50d75acf602944e7bad33259ee75e656fe258ada | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Fri Sep 03 14:46:55 2021 -0700 |
committer | Victor Hsieh <victorhsieh@google.com> | Fri Sep 03 15:30:21 2021 -0700 |
tree | 0c5ce54515665f388cbe86fdc02b8d8ab5497d10 | |
parent | e1fd1c8888811ebf0bed1cb5ae22528e581e1b5d [diff] |
Remove file size from authfs flags authfs used to take flags like `--remote-unverified-file 5:10:40960` where the 40969 is the file size provided by the client. The intention is that since the file is readonly, we can set up the FUSE with the information ready, and avoid requesting the size on every stat(2)-like syscall. It's just that this make it harder to use for authfs' clients. This change remove the needs for the clients to provide the size. Instead, authfs internally just query fd_server before starting the FUSE. Bug: 198824883 Test: atest AuthFsHostTest ComposHostTestCases Change-Id: I9b26b6e13bfa170d766a2428cb485d97e0423e13
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.