Skip to contentSkip to conversation

eCryptfs changes for 7.1-rc1

GIT PULL Merged Tyler Hicks 2 participants 2 messages Apr 20 Ecrypt file system

lore
Share & tools
lore

Tyler Hicks

author maintainer
#0 lore raw

Hi Linus,

The following changes since commit c369299895a591d96745d6492d4888259b004a9e:

Linux 7.0-rc5 (2026-03-22 14:42:17 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs.git tags/ecryptfs-7.1-rc1

for you to fetch changes up to e836ec1819b0cc50e0b45a53b0bdce6c596f0207:

ecryptfs: keep the lower iattr contained in truncate_upper (2026-04-08 18:54:03 -0500)

----------------------------------------------------------------
eCryptfs changes for 7.1-rc1

The set of eCryptfs changes for the 7.1-rc1 merge window consists of:
- A fix to avoid unnecessary eCryptfs inode timestamp truncation by re-using the lower filesystem's time granularity
- Various small code cleanups
- Reorganization of the setattr hook's handling of inode resizing to improve style and readability, remove an unnecessary memory allocation when shrinking, and to support an upcoming rework of the VFS interfaces involved in truncation

The patches have all spent time in linux-next and they do not regress the tests in the ecryptfs-utils tree. The inode timestamp fix returns the "setattr-flush-dirty" test to passing state.

----------------------------------------------------------------
Christoph Hellwig (7):
ecryptfs: cleanup ecryptfs_setattr
ecryptfs: streamline truncate_upper
ecryptfs: use ZERO_PAGE instead of allocating zeroed memory in truncate_upper
ecryptfs: combine the two ATTR_SIZE blocks in ecryptfs_setattr
ecryptfs: merge ecryptfs_inode_newsize_ok into truncate_upper
ecryptfs: factor out a ecryptfs_iattr_to_lower helper
ecryptfs: keep the lower iattr contained in truncate_upper

Frank Hsiao 蕭法宣 (1):
ecryptfs: Set s_time_gran to get correct time granularity

Thorsten Blum (7):
ecryptfs: Replace memcpy + manual NUL termination with strscpy
ecryptfs: Use struct_size to improve process_response + send_miscdev
ecryptfs: Fix tag number in encrypt_filename() error message
ecryptfs: Remove redundant if checks in encrypt_and_encode_filename
ecryptfs: Log function name only once in decode_and_decrypt_filename
ecryptfs: Fix typo in ecryptfs_derive_iv function comment
ecryptfs: Drop TODO comment in ecryptfs_derive_iv

 fs/ecryptfs/crypto.c    |  36 +++----
 fs/ecryptfs/debug.c     |   5 +-
 fs/ecryptfs/inode.c     | 257 ++++++++++++++++++++++--------------------------
 fs/ecryptfs/keystore.c  |   6 +-
 fs/ecryptfs/main.c      |   1 +
 fs/ecryptfs/messaging.c |   3 +-
 fs/ecryptfs/miscdev.c   |   7 +-
 7 files changed, 142 insertions(+), 173 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 20 Apr 2026 01:20:27 -0500:

The pull request you sent on Mon, 20 Apr 2026 01:20:27 -0500:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs.git tags/ecryptfs-7.1-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a5e1c3b6093b13c3ae1c5517c694cad7e55e9ed1

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html