Re: [PATCH 5/9] selinux: drop cast to same type

From: Paul Moore
Date: Wed Jan 26 2022 - 15:27:34 EST


On Tue, Jan 25, 2022 at 9:14 AM Christian Göttsche
<cgzones@xxxxxxxxxxxxxx> wrote:
>
> Both the lvalue scontextp and rvalue scontext are of the type char*.
> Drop the redundant explicit cast not needed since commit 9a59daa03df7
> ("SELinux: fix sleeping allocation in security_context_to_sid"), where
> the type of scontext changed from const char* to char*.
>
> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
> ---
> security/selinux/ss/services.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Merged, thanks.

--
paul-moore.com