diff options
author | Mark Brown <broonie@kernel.org> | 2023-12-22 15:54:37 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-12-23 00:00:37 +0100 |
commit | ea67677dbb0d30b993b15790d6cee24c900dd597 (patch) | |
tree | 77082ae753a9d25a2fd6ccbfffa8a7df4b9a6842 /security/selinux | |
parent | calipso: fix memory leak in netlbl_calipso_add_pass() (diff) | |
download | linux-ea67677dbb0d30b993b15790d6cee24c900dd597.tar.xz linux-ea67677dbb0d30b993b15790d6cee24c900dd597.zip |
lsm: Add a __counted_by() annotation to lsm_ctx.ctx
The ctx in struct lsm_ctx is an array of size ctx_len, tell the compiler
about this using __counted_by() where supported to improve the ability to
detect overflow issues.
Reported-by: Aishwarya TCV <aishwarya.tcv@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions