linux/net/sunrpc/auth_gss
Kees Cook 3a2c4d55e3 treewide: refresh kmalloc_obj() conversions
This is another run of the Coccinelle script for converting kmalloc()
family of allocations to kmalloc_obj() via the existing rules in
scripts/coccinelle/api/kmalloc_objs.cocci

This catches both the set of kmalloc() uses added since the first
kmalloc_obj() conversions in v7.0 and adds a large group missed in the
first pass due to Coccinelle not interacting well with the cleanup.h
scoped_...() family of macros[1]. I worked around this with spatch's
"--macro-file" argument to a file with all the scoped_...() macros mapped
to Coccinelle's YACFE_ITERATOR[2] as that was the closest viable control
flow indicator I could find.

Build tested allmodconfig on x86, arm64, arm, loongarch, mips, powerpc,
riscv, and s390 with no new warnings.

Link: https://lore.kernel.org/lkml/202609021314.8A9C0B8@keescook/ [1]
Link: https://github.com/coccinelle/coccinelle/blob/master/standard.h [2]
Signed-off-by: Kees Cook <kees+treewide@kernel.org>
2026-09-04 21:37:00 -07:00
..
auth_gss_internal.h mm: change inlined allocation helpers to account at the call site 2024-04-25 20:55:59 -07:00
auth_gss.c SUNRPC: harden gss_unwrap_resp_priv length checks 2026-08-03 09:14:35 -04:00
gss_krb5_crypto.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
gss_krb5_internal.h SUNRPC: Remove dead rpcsec_gss_krb5 definitions 2026-06-09 16:32:59 -04:00
gss_krb5_mech.c SUNRPC: Remove dead rpcsec_gss_krb5 definitions 2026-06-09 16:32:59 -04:00
gss_krb5_seal.c SUNRPC: Remove dead rpcsec_gss_krb5 definitions 2026-06-09 16:32:59 -04:00
gss_krb5_unseal.c SUNRPC: Reject short RFC 4121 MIC tokens in gss_krb5_verify_mic_v2 2026-08-03 09:14:35 -04:00
gss_krb5_wrap.c SUNRPC: Reject krb5 v2 wrap tokens with oversized ec field 2026-08-10 09:54:35 -04:00
gss_mech_switch.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
gss_rpc_upcall.c sunrpc: init gssp_lock before publishing proc entry 2026-08-10 09:54:35 -04:00
gss_rpc_upcall.h sunrpc: init gssp_lock before publishing proc entry 2026-08-10 09:54:35 -04:00
gss_rpc_xdr.c SUNRPC: reject duplicate CREDS_VALUE options 2026-08-10 09:54:35 -04:00
gss_rpc_xdr.h SUNRPC: Add SPDX IDs to some net/sunrpc/auth_gss/ files 2019-02-14 09:54:37 -05:00
Makefile SUNRPC: Remove dead code from rpcsec_gss_krb5 2026-06-09 16:32:59 -04:00
svcauth_gss.c sunrpc: init gssp_lock before publishing proc entry 2026-08-10 09:54:35 -04:00
trace.c SUNRPC: remove duplicate include 2020-08-19 13:19:42 -04:00