linux/security/keys
Mohammed EL Kadiri 1b95242509 keys: keyctl_pkey: replace BUG with return -EOPNOTSUPP
Replace two BUG() calls in keyctl_pkey_params_get_2() and
keyctl_pkey_e_d_s() default cases with -EOPNOTSUPP, matching
the error style already used in these functions.

Signed-off-by: Mohammed EL Kadiri <med08elkadiri@gmail.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
2026-06-15 15:19:13 +03:00
..
encrypted-keys keys: Replace strcpy(derived_buf, "AUTH_KEY") with strscpy(..., HASH_SIZE) 2026-06-15 15:19:13 +03:00
trusted-keys keys/trusted_keys: mark 'migratable' as __ro_after_init 2026-06-15 15:19:12 +03:00
big_key.c mm: update shmem_[kernel]_file_*() functions to use vma_flags_t 2026-02-12 15:42:58 -08:00
compat_dh.c
compat.c
dh.c KEYS: DH: Use crypto_wait_req 2023-02-13 18:34:48 +08:00
gc.c KEYS: Invert FINAL_PUT bit 2025-06-11 11:57:14 -07:00
internal.h keys: Pin request_key_auth payload in instantiate paths 2026-06-15 15:19:13 +03:00
Kconfig KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNG 2026-06-15 15:19:12 +03:00
key.c keys: prevent slab cache merging for key_jar 2026-06-15 15:19:13 +03:00
keyctl_pkey.c keys: keyctl_pkey: replace BUG with return -EOPNOTSUPP 2026-06-15 15:19:13 +03:00
keyctl.c keys: Pin request_key_auth payload in instantiate paths 2026-06-15 15:19:13 +03:00
keyring.c KEYS: Use acquire when reading state in keyring search 2026-06-15 15:19:12 +03:00
Makefile
permission.c
persistent.c
proc.c keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry 2023-12-21 13:47:38 +00:00
process_keys.c cred: make init_cred static 2025-11-04 12:36:02 +01:00
request_key_auth.c keys: Pin request_key_auth payload in instantiate paths 2026-06-15 15:19:13 +03:00
request_key.c keys: request_key: replace BUG with return -EINVAL 2026-06-15 15:19:13 +03:00
sysctl.c treewide: const qualify ctl_tables where applicable 2025-01-28 13:48:37 +01:00
user_defined.c keys: use kmalloc_flex in user_preparse 2026-06-15 15:19:12 +03:00