lkml.org 
[lkml]   [2022]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 2/5] selinux: use correct type for context length
    On Thu, Feb 17, 2022 at 9:21 AM Christian Göttsche
    <cgzones@googlemail.com> wrote:
    >
    > security_sid_to_context() expects a pointer to an u32 as the address
    > where to store the length of the computed context.
    >
    > Reported by sparse:
    >
    > security/selinux/xfrm.c:359:39: warning: incorrect type in argument 4 (different signedness)
    > security/selinux/xfrm.c:359:39: expected unsigned int [usertype] *scontext_len
    > security/selinux/xfrm.c:359:39: got int *
    >
    > Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
    > ---
    > security/selinux/xfrm.c | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)

    Merged into selinux/next, thanks.

    --
    paul-moore.com

    \
     
     \ /
      Last update: 2022-02-18 16:49    [W:4.072 / U:0.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site