aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorPaulo Alcantara <[email protected]>2024-01-06 23:05:18 +0000
committerSteve French <[email protected]>2024-01-08 03:18:00 +0000
commit8a3c4e44c243308c2364a00f9944c3d6fbdeb125 (patch)
tree049277c1f23d0e0e070eb5e06fd7a60745e27219 /security/selinux/hooks.c
parentsmb: client: stop revalidating reparse points unnecessarily (diff)
downloadkernel-8a3c4e44c243308c2364a00f9944c3d6fbdeb125.tar.gz
kernel-8a3c4e44c243308c2364a00f9944c3d6fbdeb125.zip
cifs: get rid of dup length check in parse_reparse_point()
smb2_compound_op(SMB2_OP_GET_REPARSE) already checks if ioctl response has a valid reparse data buffer's length, so there's no need to check it again in parse_reparse_point(). In order to get rid of duplicate check, validate reparse data buffer's length also in cifs_query_reparse_point(). Signed-off-by: Paulo Alcantara (SUSE) <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions