sapling/eden/fs/fuse
Wez Furlong 54d86f2574 eden: fixup attributes with osxfuse
Summary:
the osxfuse implementation includes some additional
fields in the `fuse_attr` struct.  One of those fields is
`flags`.  We were not initializing this field when converting
the stat data to fuse attributes which resulted in it holding
"random" data.  In debug builds this seemed to usually end up
zeroed out but in release builds it was usually a bit pattern
that caused the kernel to respond with EPERM when attempting
to access the files.   I didn't capture exactly what that
bit pattern was, just that initializing the struct to zeroes
reliably fixed up the EPERM issues in the Release build.

Reviewed By: chadaustin

Differential Revision: D13680004

fbshipit-source-id: 6b2ce6c10ef8f7db4a8a50bd3f2ddcfdddc3bb45
2019-01-15 17:29:24 -08:00
..
fuse_tester Make ProcessNameCache optional for ProcessAccessLog 2018-12-21 15:43:51 -08:00
privhelper eden: fixup compilation warning with clang 2019-01-14 13:52:36 -08:00
test Make ProcessNameCache optional for ProcessAccessLog 2018-12-21 15:43:51 -08:00
BufVec.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
BufVec.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
CMakeLists.txt eden: handlemap.thrift was removed, but not from cmake build 2018-12-15 13:43:31 -08:00
DirList.cpp simplify readdir implementation 2018-12-05 01:34:53 -08:00
DirList.h simplify readdir implementation 2018-12-05 01:34:53 -08:00
Dispatcher.cpp eden: fixup attributes with osxfuse 2019-01-15 17:29:24 -08:00
Dispatcher.h remove FileHandleMap 2018-12-13 12:29:13 -08:00
EdenStats.cpp Win: Porting eden/service to Windows with fb-thrift 2018-10-22 20:27:26 -07:00
EdenStats.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
FileHandle.h move write from EdenFileHandle to FileInode 2018-10-08 15:11:55 -07:00
FileHandleBase.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandleBase.h remove getattr and setattr from FileHandleBase 2018-10-08 13:17:03 -07:00
FuseChannel.cpp debug logging (once) when ENODEV is received from the fuse device 2019-01-11 15:11:14 -08:00
FuseChannel.h debug logging (once) when ENODEV is received from the fuse device 2019-01-11 15:11:14 -08:00
FuseTypes.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
FuseTypes.h eden: pull in osxfuse kernel headers 2018-12-17 20:16:19 -08:00
PollHandle.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
PollHandle.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
RequestData.cpp Minor FuseChannel optimizations 2018-09-05 15:06:58 -07:00
RequestData.h Minor FuseChannel optimizations 2018-09-05 15:06:58 -07:00