Files
linux/security/apparmor
John Johansen 1ed40bd525 apparmor: fix label can not be immediately before a declaration
Fix error reported by kernel test robot

security/apparmor/policy.c:1381:2: error: a label can only be part of
a statement and a declaration is not a statement

All errors (new ones prefixed by >>):

   security/apparmor/policy.c: In function 'aa_replace_profiles':
>> security/apparmor/policy.c:1381:2: error: a label can only be part
   of a statement and a declaration is not a statement
     ssize_t udata_sz = udata->size;
     ^~~~~

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202606150525.npax8WiH-lkp@intel.com/
Fixes: 7b42f95813 ("apparmor: fix potential UAF in aa_replace_profiles")
Signed-off-by: John Johansen <john.johansen@canonical.com>
2026-06-14 18:22:35 -07:00
..
2026-06-13 20:20:13 -07:00
2026-02-01 12:01:19 -08:00
2026-06-13 20:20:13 -07:00
2024-12-04 14:59:57 -05:00