Re: [PATCH v2] cred: add get_cred_many and put_cred_many
From: Paul Moore
Date: Thu Sep 21 2023 - 19:29:39 EST
On Sep 9, 2023 Mateusz Guzik <mjguzik@xxxxxxxxx> wrote:
>
> Some of the frequent consumers of get_cred and put_cred operate on 2
> references on the same creds back-to-back.
>
> Switch them to doing the work in one go instead.
>
> v2:
> - add kdoc entries
> - hoist validate_cred call in exit_creds
> - reword commit message
>
> Signed-off-by: Mateusz Guzik <mjguzik@xxxxxxxxx>
> ---
> include/linux/cred.h | 59 +++++++++++++++++++++++++++++++++++++-------
> kernel/cred.c | 26 ++++++++++---------
> 2 files changed, 65 insertions(+), 20 deletions(-)
Merged into lsm/next, thanks for your patience Mateusz.
--
paul-moore.com