summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorDavid Windsor <dwindsor@gmail.com>2026-04-27 02:23:49 +0300
committerPaul Moore <paul@paul-moore.com>2026-04-28 02:32:56 +0300
commit1e5a8eed7821e7a43a31b4c1b3675a91be6bc6f6 (patch)
tree46cfafaa9dfad1d7873afc3c34000f05382cd40f /include/linux/stackprotector.h
parent032e70aff025d7c519af9ab791cd084380619263 (diff)
downloadlinux-1e5a8eed7821e7a43a31b4c1b3675a91be6bc6f6.tar.xz
selinux: don't reserve xattr slot when we won't fill it
Move lsm_get_xattr_slot() below the SBLABEL_MNT check so we don't leave a NULL-named slot in the array when returning -EOPNOTSUPP; filesystem initxattrs() callbacks stop iterating at the first NULL ->name, silently dropping xattrs installed by later LSMs. Cc: stable@vger.kernel.org Signed-off-by: David Windsor <dwindsor@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions