sapling/eden/fs/cli
Xavier Deguillard 710f03501d service: no longer make edenfs a suid root binary
Summary:
In order to execute the edenfs_privhelper, EdenFS needs to be a suid root
binary, but due to the large amount of dependency, it's hard to fully control
what runs before main and thus what executes with root privileges.

To reduce the attack surface, let's only make the edenfs_privhelper a suid root
binary. In tests, we still start EdenFS with sudo, and thus the
edenfs_privhelper will have the proper privileges.

Reviewed By: chadaustin

Differential Revision: D31870880

fbshipit-source-id: 3f06d22ecd4f3bc65e3e955c5a1de811b1cf328f
2021-10-26 15:13:11 -07:00
..
doctor suppress errors in fbcode/eden - batch 1 2021-08-24 14:30:57 -07:00
test add telemetry for eden prefetch 2021-09-23 09:37:03 -07:00
trace add edenfsctl trace fs support for nfs 2021-06-29 17:50:25 -07:00
__init__.py remediation of S205607 2020-07-17 17:16:13 -07:00
buck.py setup buck integration testing 2021-08-25 17:32:14 -07:00
CMakeLists.txt cmake: build edenfsctl Rust 2021-09-29 10:02:09 -07:00
cmd_util.py add helper command for deleting stale APFS volumes 2021-08-19 11:17:59 -07:00
config.py include kernel protocol in rage 2021-09-24 15:48:24 -07:00
configinterpolator.py cli: enable pyre-strict for configinterpolator.py 2021-05-19 19:27:06 -07:00
configutil.py suppress errors in fbcode/eden - batch 1 2021-10-19 19:09:59 -07:00
daemon_util.py win: add eden.exe to the package 2020-09-08 16:33:55 -07:00
daemon.py service: no longer make edenfs a suid root binary 2021-10-26 15:13:11 -07:00
debug_posix.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
debug_windows.py suppress errors in fbcode/eden - batch 1 2021-07-21 17:40:14 -07:00
debug.py fix thread safety issues in ActivityRecorder CLI 2021-08-30 19:30:08 -07:00
filesystem.py cli: enable pyre-strict for filesystem.py 2021-05-19 19:27:06 -07:00
fsck.py suppress errors in fbcode/eden - batch 1 2021-08-24 14:30:57 -07:00
hg_util.py suppress errors in eden - batch 1 2020-12-15 15:22:22 -08:00
logfile.py cli: enable pyre-strict for logfile.py 2021-05-19 19:27:07 -07:00
main.py cli_rs: Scaffolding for minitop subcommand 2021-10-21 16:16:29 -07:00
mtab.py Move eden.cli namespace to eden.fs.cli 2020-03-25 11:46:56 -07:00
overlay.py apply pyfmt with usort to opted-in sources 2020-11-10 21:25:54 -08:00
prefetch_profile.py return 0 if skipping predictive fetch 2021-08-25 12:39:55 -07:00
prefetch.py add telemetry for eden prefetch 2021-09-23 09:37:03 -07:00
prjfs.py cli: add debug state for checking projectedfs file state 2021-03-10 10:05:42 -08:00
proc_utils_win.py service: unify startup on Windows/Linux/macOS 2020-10-22 16:24:17 -07:00
proc_utils.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
rage.py Add eden prefetch-profile list output to eden rage 2021-10-11 11:21:51 -07:00
redirect.py fix python type error take 2 2021-09-23 10:29:01 -07:00
stats_print.py remove stats memory command 2020-05-05 12:09:11 -07:00
stats.py pretty print rage sections and normalize underlining 2021-09-10 23:54:48 -07:00
subcmd.py suppress errors in fbcode/eden - batch 1 2021-08-24 14:30:57 -07:00
systemd_service.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
systemd.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
tabulate.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
telemetry.py add telemetry for eden prefetch 2021-09-23 09:37:03 -07:00
top.py make eden top xterm-color friendly 2021-10-08 09:43:02 -07:00
trace_cmd.py strace: add C++ implementation 2021-06-17 12:07:20 -07:00
trace.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
ui.py suppress errors in fbcode/eden - batch 1 2021-08-24 14:30:57 -07:00
util.py include kernel protocol in rage 2021-09-24 15:48:24 -07:00
version.py update edenfsctl to report the compile-time version 2020-04-22 12:48:48 -07:00
win_ui.py Move cli/ directory from eden/ to eden/fs (Without changing namespace) 2020-03-25 11:18:30 -07:00