diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2022-02-17 17:21:25 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-02-18 18:45:54 +0300 |
commit | b97df7c098c531010e445da88d02b7bf7bf59ef6 (patch) | |
tree | 0cc6dd117e27f7caee981bb39e3e06397ca866dd /security/selinux/include | |
parent | 5ea33af9d430cd1dbfada1b839e0d317ed77bfac (diff) | |
download | linux-b97df7c098c531010e445da88d02b7bf7bf59ef6.tar.xz |
selinux: use correct type for context length
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 arg 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>
[PM: wrapped commit description]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/include')
0 files changed, 0 insertions, 0 deletions