aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/fscrypt.txt
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-11-25 17:06:15 -0800
committerDmitry Vyukov <dvyukov@google.com>2019-11-26 11:34:30 +0100
commitf72ffd024df9098b2d787d0107295a9669481cc9 (patch)
tree13c95b78165c9eb56ff68090da7a29c8c2f0afc1 /sys/linux/fscrypt.txt
parent2649e7ccc4893a6006c8636daccdcae5afb3e8c6 (diff)
sys/linux/fscrypt.txt: add FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64
This flag is new in 5.5. Also add a link to the fscrypt API documentation.
Diffstat (limited to 'sys/linux/fscrypt.txt')
-rw-r--r--sys/linux/fscrypt.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/linux/fscrypt.txt b/sys/linux/fscrypt.txt
index 79f6b9a04..78eef2c8e 100644
--- a/sys/linux/fscrypt.txt
+++ b/sys/linux/fscrypt.txt
@@ -1,6 +1,8 @@
# Copyright 2019 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+# Reference: https://www.kernel.org/doc/html/latest/filesystems/fscrypt.html#user-api
+
include <uapi/linux/fs.h>
include <uapi/linux/fscrypt.h>
@@ -47,7 +49,7 @@ type fscrypt_policy_mode_t[CONTENTS, FILENAMES] {
filenames_encryption_mode const[FILENAMES, int8]
}
-fscrypt_policy_flags = FSCRYPT_POLICY_FLAGS_PAD_4, FSCRYPT_POLICY_FLAGS_PAD_8, FSCRYPT_POLICY_FLAGS_PAD_16, FSCRYPT_POLICY_FLAGS_PAD_32, FSCRYPT_POLICY_FLAG_DIRECT_KEY
+fscrypt_policy_flags = FSCRYPT_POLICY_FLAGS_PAD_4, FSCRYPT_POLICY_FLAGS_PAD_8, FSCRYPT_POLICY_FLAGS_PAD_16, FSCRYPT_POLICY_FLAGS_PAD_32, FSCRYPT_POLICY_FLAG_DIRECT_KEY, FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64
fscrypt_get_policy_ex_arg {
policy_size len[policy, int64]