aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-11-27 11:28:14 -0800
committerEric Biggers <ebiggers@google.com>2019-11-27 11:28:14 -0800
commit82d01438a66212ce802721397a62c18a0b71b7ea (patch)
treebf9f99dbde27c9fc6cd3e8ab06f42afda5aaa307 /actions
parent13bc8a6a344c6bfbf685f9e6a3e55f87cef066e4 (diff)
Use latest fscrypt declarations from sys/unix
Use the new name for fscrypt constants and structures which have been given a new name. Also use the named constant for the DIRECT_KEY fscrypt policy flag. No change in behavior. This is just preparing for future work.
Diffstat (limited to 'actions')
-rw-r--r--actions/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/context.go b/actions/context.go
index 830ad03..894d941 100644
--- a/actions/context.go
+++ b/actions/context.go
@@ -142,7 +142,7 @@ func (ctx *Context) getService() string {
return ctx.Mount.FilesystemType + ":"
}
}
- return unix.FS_KEY_DESC_PREFIX
+ return unix.FSCRYPT_KEY_DESC_PREFIX
}
// getProtectorOption returns the ProtectorOption for the protector on the