Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools headers uapi: Sync linux/fscrypt.h with the kernel sources

To pick the changes from:

b103fb7653ff ("fscrypt: add support for IV_INO_LBLK_64 policies")

That don't trigger any changes in tooling.

This silences this perf build warning:

Warning: Kernel ABI header at 'tools/include/uapi/linux/fscrypt.h' differs from latest version at 'include/uapi/linux/fscrypt.h'
diff -u tools/include/uapi/linux/fscrypt.h include/uapi/linux/fscrypt.h

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Eric Biggers <ebiggers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-cgfz3ffe07pw2m8hmstvkudl@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+2 -1
+2 -1
tools/include/uapi/linux/fscrypt.h
··· 17 17 #define FSCRYPT_POLICY_FLAGS_PAD_32 0x03 18 18 #define FSCRYPT_POLICY_FLAGS_PAD_MASK 0x03 19 19 #define FSCRYPT_POLICY_FLAG_DIRECT_KEY 0x04 20 - #define FSCRYPT_POLICY_FLAGS_VALID 0x07 20 + #define FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 0x08 21 + #define FSCRYPT_POLICY_FLAGS_VALID 0x0F 21 22 22 23 /* Encryption algorithms */ 23 24 #define FSCRYPT_MODE_AES_256_XTS 1