On Dec 22, 2023 Mark Brown <[email protected]> wrote: > > 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 <[email protected]> > Signed-off-by: Mark Brown <[email protected]> > --- > Changes in v2: > - Add explicit stddef.h inclusion in case __counted_by() definition > isn't otherwise pulled in. > - Link to v1: > https://lore.kernel.org/r/[email protected] > --- > include/uapi/linux/lsm.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to lsm/dev, thanks! -- paul-moore.com
