]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
cmd/fscrypt: add 'fscrypt lock' command
authorEric Biggers <ebiggers@google.com>
Mon, 16 Dec 2019 03:31:39 +0000 (19:31 -0800)
committerEric Biggers <ebiggers@google.com>
Sun, 5 Jan 2020 18:02:13 +0000 (10:02 -0800)
commit9003a0331a112e8901fae8279f4897a825ee8069
tree37f6341d853346489f69ebd8b671b8133e69dfd5
parent6ffc9457945a9484d2757cc4b01de35426502d0a
cmd/fscrypt: add 'fscrypt lock' command

Add support for 'fscrypt lock'.  This command "locks" a directory,
undoing 'fscrypt unlock'.

When the filesystem keyring is used, 'fscrypt lock' also detects when a
directory wasn't fully locked due to some files still being in-use.  It
can then be run again later to try to finish locking the files.
README.md
actions/policy.go
cmd/fscrypt/commands.go
cmd/fscrypt/errors.go
cmd/fscrypt/fscrypt.go