[GIT PULL] eCryptfs fixes for 7.0-rc1

From: Tyler Hicks

Date: Wed Feb 18 2026 - 20:14:51 EST


Hi Linus,

This is the first pull request that I've sent to you in some time.
Christian has been picking up sporadic eCryptfs bug fixes, support for
new VFS hooks/functionality, etc., (thanks again!) but I have
time/interest to get more involved and received Christian's blessing.
This pull request consists of some really minor typo fixes that fell
through the cracks and some more recent code cleanups.

I've dusted off my notes on creating pull requests and think I got
everything correct but let me know if anything looks off.

The following changes since commit 9448598b22c50c8a5bb77a9103e2d49f134c9578:

Linux 6.19-rc2 (2025-12-21 15:52:04 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 99853d9daef240a45e161d0e33487cda4810b999:

ecryptfs: Replace memcpy + NUL termination in ecryptfs_copy_filename (2026-01-12 20:21:27 -0600)

----------------------------------------------------------------
eCryptfs fixes for 7.0-rc1

The set of eCryptfs patches for the 7.0-rc1 merge window consists of
cleanups that are not intended to have any functional changes:
- Comment typo fixes
- Removal of an unused function declaration
- Use strscpy() instead of the deprecated strcpy()
- Use string copying helpers instead of memcpy() and manually
terminating strings

The patches have all spent time in linux-next and they do not regress
the tests in the ecryptfs-utils tree.

Signed-off-by: Tyler Hicks <code@xxxxxxxxxxx>

----------------------------------------------------------------
Baolin Liu (1):
ecryptfs: simplify list initialization in ecryptfs_parse_packet_set()

Slark Xiao (1):
ecryptfs: keystore: Fix typo 'the the' in comment

Thorsten Blum (7):
ecryptfs: Fix packet format comment in parse_tag_67_packet()
ecryptfs: Replace strcpy with strscpy in ecryptfs_set_default_crypt_stat_vals
ecryptfs: Replace strcpy with strscpy in ecryptfs_cipher_code_to_string
ecryptfs: Replace strcpy with strscpy in ecryptfs_validate_options
ecryptfs: Replace memcpy + NUL termination in ecryptfs_new_file_context
ecryptfs: Drop redundant NUL terminations after calling ecryptfs_to_hex
ecryptfs: Replace memcpy + NUL termination in ecryptfs_copy_filename

Zhang Zekun (1):
ecryptfs: Remove unused declartion ecryptfs_fill_zeros()

Zipeng Zhang (1):
ecryptfs: comment typo fix

fs/ecryptfs/crypto.c | 38 +++++++++++++-------------------------
fs/ecryptfs/debug.c | 1 -
fs/ecryptfs/ecryptfs_kernel.h | 3 +--
fs/ecryptfs/keystore.c | 19 ++++++++++---------
fs/ecryptfs/main.c | 9 +++++----
5 files changed, 29 insertions(+), 41 deletions(-)