Centos-kernel-stream-9/fs/crypto
Xiubo Li 83224bf028 fscrypt: Replace 1-element array with flexible array
JIRA: https://issues.redhat.com/browse/RHEL-19813

commit d617ef039fb8eec48a3424f79327220e0b7cbff7
Author: Kees Cook <keescook@chromium.org>
Date:   Tue May 23 09:55:02 2023 -0700

    fscrypt: Replace 1-element array with flexible array

    1-element arrays are deprecated and are being replaced with C99
    flexible arrays[1].

    As sizes were being calculated with the extra byte intentionally,
    propagate the difference so there is no change in binary output.

    [1] https://github.com/KSPP/linux/issues/79

    Cc: Eric Biggers <ebiggers@kernel.org>
    Cc: "Theodore Y. Ts'o" <tytso@mit.edu>
    Cc: Jaegeuk Kim <jaegeuk@kernel.org>
    Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
    Cc: linux-fscrypt@vger.kernel.org
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Link: https://lore.kernel.org/r/20230523165458.gonna.580-kees@kernel.org
    Signed-off-by: Eric Biggers <ebiggers@google.com>

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2024-03-26 08:40:58 +08:00
..
Kconfig fscrypt: relax Kconfig dependencies for crypto API algorithms 2021-04-22 17:31:32 +10:00
Makefile
bio.c fscrypt: use WARN_ON_ONCE instead of WARN_ON 2024-03-26 08:40:58 +08:00
crypto.c fscrypt: optimize fscrypt_initialize() 2024-03-26 08:40:58 +08:00
fname.c fscrypt: use WARN_ON_ONCE instead of WARN_ON 2024-03-26 08:40:58 +08:00
fscrypt_private.h fscrypt: Replace 1-element array with flexible array 2024-03-26 08:40:58 +08:00
hkdf.c fscrypt: use WARN_ON_ONCE instead of WARN_ON 2024-03-26 08:40:58 +08:00
hooks.c fscrypt: Replace 1-element array with flexible array 2024-03-26 08:40:58 +08:00
inline_crypt.c fscrypt: add functions for direct I/O support 2024-03-26 08:40:56 +08:00
keyring.c fscrypt: use WARN_ON_ONCE instead of WARN_ON 2024-03-26 08:40:58 +08:00
keysetup.c fscrypt: optimize fscrypt_initialize() 2024-03-26 08:40:58 +08:00
keysetup_v1.c fscrypt: stop holding extra request_queue references 2023-03-11 23:27:30 +08:00
policy.c fscrypt: use WARN_ON_ONCE instead of WARN_ON 2024-03-26 08:40:58 +08:00