sapling/CMake
Wez Furlong 30d0a77d53 eden: add helper command for working with apfs
Summary:
We've had a small proportion of our users run into problems
with hdiutil and diskimages-helper, where those components get into
an unhappy state and effectively block operating on the redirections.

This diff introduces a new utility that is intended to replace the
use of disk image files with APFS volumes that we mount in the
appropriate places.

The intention is that we will teach `eden redirect` to use this tool
when available, rather than disk images.

macOS's security model is weird: it is perfectly valid for a non-privileged
user to create and delete APFS volumes in the APFS storage container,
but root privs are required to mount it into the VFS.

The intent is that we deploy this utility setuid root to minimize
the fan out--this way we won't need to teach the priv helper about
this kind of redirection.

There are a couple of subcommands demonstrated in the test plan.

Reviewed By: chadaustin

Differential Revision: D19323850

fbshipit-source-id: 35556f841e49e5c4b77679b756af9093222f4500
2020-02-03 16:59:17 -08:00
..
CompilerSettingsUnix.cmake update license headers in CMake files 2019-06-19 17:02:46 -07:00
eden-config.h.in cmake: always build support for the EdenSCM backing store 2019-11-22 13:00:07 -08:00
EdenConfigChecks.cmake cmake: always build support for the EdenSCM backing store 2019-11-22 13:00:07 -08:00
FindLibGit2.cmake make support for Git optional 2019-09-20 18:22:04 -07:00
FindLZ4.cmake cmake: always build support for the EdenSCM backing store 2019-11-22 13:00:07 -08:00
FindPrjfs.cmake eden: adjust projectedfs SDK dep search procedure 2019-08-28 06:49:30 -07:00
FindSELinux.cmake update license headers in CMake files 2019-06-19 17:02:46 -07:00
FindSqlite3.cmake update license headers in CMake files 2019-06-19 17:02:46 -07:00
RustStaticLibrary.cmake eden: add helper command for working with apfs 2020-02-03 16:59:17 -08:00