mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
011cc21e52
Summary: This updates the privhelper code to use the UnixSocket class for performing I/O. This reduces the number of separate implementations of code we have for sending file descriptors across Unix domain sockets, and also makes the privhelper APIs non-blocking. This will make it easier to clean up some of the initialization ordering in the future. It will also make it easier to send file descriptors to the privhelper server, instead of just receiving them. This may be helpful for passing a file descriptor to use for logging to the privhelper process, which will make it easier to fork the privhelper before logging redirection has occurred. Reviewed By: bolinfest Differential Revision: D8053422 fbshipit-source-id: 1f8fdf22afc797eead0213be1352ea530762140d |
||
---|---|---|
.. | ||
fuse_tester | ||
privhelper | ||
test | ||
BufVec.cpp | ||
BufVec.h | ||
CMakeLists.txt | ||
DirHandle.h | ||
DirList.cpp | ||
DirList.h | ||
Dispatcher.cpp | ||
Dispatcher.h | ||
EdenStats.cpp | ||
EdenStats.h | ||
FileHandle.cpp | ||
FileHandle.h | ||
FileHandleBase.cpp | ||
FileHandleBase.h | ||
FileHandleMap.cpp | ||
FileHandleMap.h | ||
FuseChannel.cpp | ||
FuseChannel.h | ||
FuseTypes.cpp | ||
FuseTypes.h | ||
handlemap.thrift | ||
PollHandle.cpp | ||
PollHandle.h | ||
RequestData.cpp | ||
RequestData.h |