Skip to content

fscrypt: add ioctl to get file's encryption nonce

Eric Biggers linux-api linux-ext4 linux-f2fs-devel linux-fscrypt linux-fsdevel linux-mtd 1 version Applied

Status from this message: Applied to fscrypt.git#master for 5.7.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctlDocumentation/filesystems/fscrypt.rst fs/crypto/fscrypt_private.h fs/crypto/keysetup.c +3 more+60 -151 reply
2/4ext4: wire up FS_IOC_GET_ENCRYPTION_NONCEfs/ext4/ioctl.c+6 -01 reply
3/4f2fs: wire up FS_IOC_GET_ENCRYPTION_NONCEfs/f2fs/file.c+11 -00 replies
4/4ubifs: wire up FS_IOC_GET_ENCRYPTION_NONCEfs/ubifs/ioctl.c+4 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchTheodore Ts'o
1/4R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] fscrypt: add ioctl to get file's encryption nonce

This patchset adds an ioctl FS_IOC_GET_ENCRYPTION_NONCE which retrieves the nonce from an encrypted file or directory.

This is useful for automated ciphertext verification testing.

See patch #1 for more details.

Eric Biggers (4):
fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctl
ext4: wire up FS_IOC_GET_ENCRYPTION_NONCE
f2fs: wire up FS_IOC_GET_ENCRYPTION_NONCE
ubifs: wire up FS_IOC_GET_ENCRYPTION_NONCE

 Documentation/filesystems/fscrypt.rst | 11 +++++++++++
 fs/crypto/fscrypt_private.h           | 20 ++++++++++++++++++++
 fs/crypto/keysetup.c                  | 16 ++--------------
 fs/crypto/policy.c                    | 21 ++++++++++++++++++++-
 fs/ext4/ioctl.c                       |  6 ++++++
 fs/f2fs/file.c                        | 11 +++++++++++
 fs/ubifs/ioctl.c                      |  4 ++++
 include/linux/fscrypt.h               |  6 ++++++
 include/uapi/linux/fscrypt.h          |  1 +
 9 files changed, 81 insertions(+), 15 deletions(-)

base-commit: 98d54f81e36ba3bf92172791eba5ca5bd813989b

Signature · 8 lines
2.25.1



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel