aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/protector.go
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-04-16 20:43:48 -0700
committerGitHub <noreply@github.com>2020-04-16 20:43:48 -0700
commitfe860934c793276100b7a60ebbb9325a2cfd910d (patch)
treed4599e6a345c4df735e27944ca902cad19c698ca /cmd/fscrypt/protector.go
parent2b160aeb4dccac642bfeca3a0598fcfdc4238842 (diff)
Allow fscrypt to work in containers (#213)
Update the /proc/self/mountinfo parsing code to allow selecting a Mount with Subtree != "/", i.e. a Mount not of the full filesystem. This is needed to allow fscrypt to work in containers, where the root of the filesystem may not be mounted. See findMainMount() for details about the algorithm used. Resolves https://github.com/google/fscrypt/issues/211
Diffstat (limited to 'cmd/fscrypt/protector.go')
0 files changed, 0 insertions, 0 deletions