]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
cmd/fscrypt: add FSCRYPT_CONSISTENT_OUTPUT 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)
commit5716215ceae3ab8b49a7b2ba410cb51a82c3176b
tree8e5e6bd181dee4c8e99db7604a954b9030d52a0c
parent8ff53630f1cc90ae23835e9571f9096e211dce67
cmd/fscrypt: add FSCRYPT_CONSISTENT_OUTPUT environmental variable

Allow setting FSCRYPT_CONSISTENT_OUTPUT=1 in the environment to cause
policies and protectors to sorted by last modification time.  The CLI
tests need this to make the output of 'fscrypt' ordered in a consistent
way with regard to the operations performed.
cmd/fscrypt/fscrypt.go
filesystem/filesystem.go