sapling/eden/fs/fuse
Thomas Orozco 8f263485d9 eden: allow configuring path to privhelper when not running setuid
Summary:
When running tests, we need a way for Eden to find its privhelper. Normally, it
finds it by looking next to the EdenFS binary itself, but while that works in
Buck 1, it does not work in Buck 2, where the binaries are in separate
directories

Compared to the previous diffs, this requires some extra care because on a real
system, EdenFS is running as a setuid binary, and we don't want to let people
just run whatever binary they want the EdenFS privhelper!

To that end, we reject this argument entirely if the binary is setuid.

Reviewed By: xavierd

Differential Revision: D29061439

fbshipit-source-id: bf9427211d4209cf0bea805b9ea3a53270ec455b
2021-06-16 02:34:05 -07:00
..
fuse_tester fuse: use ImmediateFuture in the Fuse dispatcher 2021-05-17 14:07:29 -07:00
privhelper eden: allow configuring path to privhelper when not running setuid 2021-06-16 02:34:05 -07:00
test allow 1000 background FUSE requests 2021-05-17 12:48:03 -07:00
CMakeLists.txt nfs: implement SETATTR RPC 2021-03-11 08:31:07 -08:00
DirList.cpp fuse: namespace facebook::eden 2021-06-08 19:29:37 -07:00
DirList.h fuse: namespace facebook::eden 2021-06-08 19:29:37 -07:00
FuseChannel.cpp migrate from LockedPtr::getUniqueLock 2021-06-13 18:53:58 -07:00
FuseChannel.h fuse: use ImmediateFuture in the Fuse dispatcher 2021-05-17 14:07:29 -07:00
FuseDispatcher.cpp fuse: namespace facebook::eden 2021-06-08 19:29:37 -07:00
FuseDispatcher.h thread ObjectFetchContext write, setattr, fallocate 2021-06-04 14:57:47 -07:00
FuseRequestContext.cpp fuse: namespace facebook::eden 2021-06-08 19:29:37 -07:00
FuseRequestContext.h log Fuse opcode name 2021-06-14 09:41:25 -07:00
FuseTypes.h fuse: namespace facebook::eden 2021-06-08 19:29:37 -07:00
Invalidation.h fuse: namespace facebook::eden 2021-06-08 19:29:37 -07:00
PollHandle.cpp fuse: namespace facebook::eden 2021-06-08 19:29:37 -07:00
PollHandle.h fuse: namespace facebook::eden 2021-06-08 19:29:37 -07:00