]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
cmd/fscrypt: add FSCRYPT_ROOT_MNT environmental variable
authorEric Biggers <ebiggers@google.com>
Sat, 9 May 2020 21:04:47 +0000 (14:04 -0700)
committerEric Biggers <ebiggers@google.com>
Sat, 9 May 2020 21:04:47 +0000 (14:04 -0700)
commit8ff53630f1cc90ae23835e9571f9096e211dce67
tree56eaebbb984ff3e4e2f8512e17bff3be77fe4bb0
parent31bc8c843e1862b2d28f31eff85eca3d1dbd4754
cmd/fscrypt: add FSCRYPT_ROOT_MNT environmental variable

Allow overriding the mountpoint where login protectors are stored by
setting the FSCRYPT_ROOT_MNT environmental variable.  The CLI tests need
this to avoid touching the real "/".
actions/protector.go
cmd/fscrypt/commands.go
cmd/fscrypt/fscrypt.go
cmd/fscrypt/protector.go
pam_fscrypt/run_fscrypt.go