s3: smbd: In call_trans2qfilepathinfo(), TRANSACT2_QPATHINFO on a named stream case...
commit80e3f4e5ca66cff1d078a8020c7de918824bb75a
authorJeremy Allison <jra@samba.org>
Mon, 13 Dec 2021 22:09:33 +0000 (13 14:09 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 15 Dec 2021 18:36:31 +0000 (15 18:36 +0000)
tree20327517cc017684da23b0b607a3c226921c14ba
parent8c0f34f05706f7e172c96f54e679d34962f67a2e
s3: smbd: In call_trans2qfilepathinfo(), TRANSACT2_QPATHINFO on a named stream case, use helper function vfs_stat().

This isn't a change in behavior, even though the
old comment says: "Always do lstat for UNIX calls".

A previous commit enforces POSIX pathname negotiation
before allowing UNIX info levels to be processed here,
so we can guarantee that SMB_FILENAME_POSIX_PATH is set
on smb_fname if we're allowing a UNIX info level.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
source3/smbd/trans2.c