commit | cdcf28f54f085520a96f4f9e480b8df324c5decb | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Wed Jan 13 15:05:20 2016 -0800 |
committer | Tao Bao <tbao@google.com> | Wed Jan 13 21:29:20 2016 -0800 |
tree | c6184ee0a3460cbcdb054f0680187a786c2cfdb9 | |
parent | ab9db5284ec6113c7d84f70f805dca21c3e6efd7 [diff] |
recovery: Fork a process for fuse when sideloading from SD card. For applying update from SD card, we used to use a thread to serve the file with fuse. Since accessing through fuse involves going from kernel to userspace to kernel, it may run into deadlock (e.g. for mmap_sem) when a page fault occurs. Switch to using a process instead. Bug: 23783099 Bug: 26313124 Change-Id: Iac0f55b1bdb078cadb520cfe1133e70fbb26eadd